Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Code (0.13 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

            Encoding.PERCENT,
            '['.code,
            ']'.code,
            '{'.code,
            '}'.code,
            '|'.code,
            '^'.code,
            '\''.code,
            ';'.code,
            '='.code,
            '@'.code,
          )
          .override(
            Encoding.SKIP,
            ':'.code,
            '/'.code,
            '\\'.code,
            '?'.code,
            '#'.code,
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        These classes make it possible to enable HTTPS in MockWebServer in [just a few lines of
        code][https_server_sample].
    
     *  **OkHttp now supports prior knowledge cleartext HTTP/2.** Enable this by setting
        `Protocol.H2_PRIOR_KNOWLEDGE` as the lone protocol on an `OkHttpClient.Builder`. This mode
        only supports `http:` URLs and is best suited in closed environments where HTTPS is
        inappropriate.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response = call.execute()
        val inputStream = response.body.byteStream()
        assertThat(inputStream.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
        assertThat(inputStream.read()).isEqualTo('C'.code)
        assertThat(inputStream.read()).isEqualTo(-1)
        assertThat(inputStream.read()).isEqualTo(-1)
        inputStream.close()
      }
    
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          )
        val response1 = call1.execute()
        assertThat(response1.code).isEqualTo(200)
        response1.body.close()
        listener.clearAllEvents()
        val call2 =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response2 = call2.execute()
        assertThat(response2.code).isEqualTo(200)
        response2.body.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

                        alreadyEncoded = true,
                      )
                  }
                  pos = componentDelimiterOffset + 1
                }
    
                -1, '/'.code, '\\'.code, '?'.code, '#'.code -> {
                  // Host info precedes.
                  val portColonOffset = portColonOffset(input, pos, componentDelimiterOffset)
                  if (portColonOffset + 1 < componentDelimiterOffset) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  6. kotlin-js-store/yarn.lock

      integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==
    
    "@types/node@*", "@types/node@>=10.0.0":
      version "17.0.41"
      resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.41.tgz#1607b2fd3da014ae5d4d1b31bc792a39348dfb9b"
      integrity sha512-xA6drNNeqb5YyV5fO3OAEsnXLfO7uF0whiOfPTz5AeDo8KeZFmODKnvwPymMNO8qE/an8pVY/O50tig2SQCrGw==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        v1Creator.commit()
    
        cache["k1"]!!.use { snapshot1 ->
          val inV1 = snapshot1.getSource(0).buffer()
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
    
          val v1Updater = cache.edit("k1")!!
          v1Updater.setString(0, "CCcc")
          v1Updater.setString(1, "DDdd")
          v1Updater.commit()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * classes include special optimizations that can be lost if the implementations are decorated.
         *
         * If necessary, you can create and configure the defaults yourself with the following code:
         *
         * ```java
         * TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(
         * TrustManagerFactory.getDefaultAlgorithm());
         * trustManagerFactory.init((KeyStore) null);
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. okhttp/api/okhttp.api

    	public final fun -deprecated_body ()Lokhttp3/ResponseBody;
    	public final fun -deprecated_cacheControl ()Lokhttp3/CacheControl;
    	public final fun -deprecated_cacheResponse ()Lokhttp3/Response;
    	public final fun -deprecated_code ()I
    	public final fun -deprecated_handshake ()Lokhttp3/Handshake;
    	public final fun -deprecated_headers ()Lokhttp3/Headers;
    	public final fun -deprecated_message ()Ljava/lang/String;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(peer.frameCount()).isEqualTo(5)
      }
    
      @Test fun maxFrameSizeHonored() {
        val buff = ByteArray(peer.maxOutboundDataLength() + 1)
        buff.fill('*'.code.toByte())
    
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top