Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for react (0.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          (if (isCanceled()) "canceled " else "") +
            (if (forWebSocket) "web socket" else "call") +
            " to " + redactedUrl()
        )
      }
    
      internal fun redactedUrl(): String = originalRequest.url.redact()
    
      inner class AsyncCall(
        private val responseCallback: Callback,
      ) : Runnable {
        @Volatile var callsPerHost = AtomicInteger(0)
          private set
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        } else {
          frameCallback.onReadMessage(messageFrameBuffer.readByteString())
        }
      }
    
      /** Read headers and process any control frames until we reach a non-control frame. */
      @Throws(IOException::class)
      private fun readUntilNonControlFrame() {
        while (!closed) {
          readHeader()
          if (!isControlFrame) {
            break
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

              responseBuilder
            }
          }
        } catch (e: EOFException) {
          // Provide more context if the server ends the stream before sending a response.
          val address = carrier.route.address.url.redact()
          throw IOException("unexpected end of stream on $address", e)
        }
      }
    
      private fun newChunkedSink(): Sink {
        check(state == STATE_OPEN_REQUEST_BODY) { "state: $state" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    import okio.source
    
    /**
     * A single attempt to connect to a remote server, including these steps:
     *
     *  * [TCP handshake][connectSocket]
     *  * Optional [CONNECT tunnels][connectTunnel]. When using an HTTP proxy to reach an HTTPS server
     *    we must send a `CONNECT` request, and handle authorization challenges from the proxy.
     *  * Optional [TLS handshake][connectTls].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

    import org.opentest4j.TestAbortedException
    
    /**
     * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different
     * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to
     * `::1` will reach the IPv6 server.
     *
     * By orchestrating two different servers with the same port but different IP addresses, we can
     * test what OkHttp does when both are reachable, or if only one is reachable.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. CHANGELOG.md

        requests with the same POST data get the same cache entry.
    
     *  New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact
        in logs. For best security, don't put sensitive information in query parameters.
    
     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val queryParameterValue: String? = httpUrl.queryParameterValue(0)
        val encodedFragment: String? = httpUrl.encodedFragment
        val fragment: String? = httpUrl.fragment
        val redact: String = httpUrl.redact()
        var builder: HttpUrl.Builder = httpUrl.newBuilder()
        var resolveBuilder: HttpUrl.Builder? = httpUrl.newBuilder("")
        val topPrivateDomain: String? = httpUrl.topPrivateDomain()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

                  close(1010, "unexpected Sec-WebSocket-Extensions in response header")
                }
              }
    
              // Process all web socket messages.
              val name = "$okHttpName WebSocket ${request.url.redact()}"
              initReaderAndWriter(name, streams)
              loopReader(response)
            }
    
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_2x.md

    _2015-03-16_
    
     *  **HTTP/2 support.** We've done interop testing and haven't seen any
        problems. HTTP/2 support has been a big effort and we're particularly
        thankful to Adrian Cole who has helped us to reach this milestone.
    
     *  **RC4 cipher suites are no longer supported by default.** To connect to
        old, obsolete servers relying on these cipher suites, you must create a
        custom `ConnectionSpec`.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
Back to top