Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Reaber (0.4 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

            if (truncated) {
              socket.close()
            }
          } else {
            // read a frame
            val inFrame = InFrame(i, reader)
            reader.nextFrame(false, inFrame)
            inFrames.add(inFrame)
          }
        }
      }
    
      fun openSocket(): Socket = Socket("localhost", port)
    
      @Synchronized override fun close() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

       */
      private fun decodeHeaderAsJavaNetCookies(
        url: HttpUrl,
        header: String,
      ): List<Cookie> {
        val result = mutableListOf<Cookie>()
        var pos = 0
        val limit = header.length
        var pairEnd: Int
        while (pos < limit) {
          pairEnd = header.delimiterOffset(";,", pos, limit)
          val equalsSign = header.delimiterOffset('=', pos, pairEnd)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:10:43 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       *
       * [rfc_7230]: https://tools.ietf.org/html/rfc7230
       */
      HTTP_1_1("http/1.1"),
    
      /**
       * Chromium's binary-framed protocol that includes header compression, multiplexing multiple
       * requests on the same socket, and server-push. HTTP/1.1 semantics are layered on SPDY/3.
       *
       * Current versions of OkHttp do not support this protocol.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

      @JvmStatic
      fun createFactory(callFactory: Call.Factory): EventSource.Factory {
        return EventSource.Factory { request, listener ->
          val actualRequest =
            if (request.header("Accept") == null) {
              request.newBuilder().addHeader("Accept", "text/event-stream").build()
            } else {
              request
            }
    
          RealEventSource(actualRequest, listener).apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:18:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      @JvmStatic val isGraalVmImage = System.getProperty("org.graalvm.nativeimage.imagecode") != null
    
      @JvmStatic
      fun headerEntries(vararg elements: String?): List<Header> {
        return List(elements.size / 2) { Header(elements[it * 2]!!, elements[it * 2 + 1]!!) }
      }
    
      @JvmStatic
      fun repeat(
        c: Char,
        count: Int,
      ): String {
        val array = CharArray(count)
        Arrays.fill(array, c)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top