Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Carrie (0.21 sec)

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

      private var refusedStreamCount = 0
    
      /**
       * The maximum number of concurrent streams that can be carried by this connection. If
       * `allocations.size() < allocationLimit` then new streams can be created on this connection.
       */
      internal var allocationLimit = 1
        private set
    
      /** Current calls carried by this connection. */
      val calls = mutableListOf<Reference<RealCall>>()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     * connections should expect repetition of stream IDs.
     *
     * Return true to request cancellation of a pushed stream.  Note that this does not guarantee
     * future frames won't arrive on the stream ID.
     */
    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
       * @param streamId server-initiated stream ID: an even number.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

     * Not invoked for cached responses that short-circuit the network.
     * Observe the data just as it will be transmitted over the network.
     * Access to the `Connection` that carries the request.
    
    ### Rewriting Requests
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/StreamResetException.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 869 bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.checkDuration
    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.connection.RealCall
    
    /**
     * A concrete interceptor chain that carries the entire interceptor chain: all application
     * interceptors, the OkHttp core, all network interceptors, and finally the network caller.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. docs/contribute/code_of_conduct.md

    expect our code of conduct to be honored.
    
    Square’s open source community strives to:
    
     * **Be open**: We invite anyone to participate in any aspect of our projects. Our community is
       open, and any responsibility can be carried by a contributor who demonstrates the required
       capacity and competence.
    
     * **Be considerate**: People use our work, and we depend on the work of others. Consider users and
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  7. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2ExchangeCodec;->createRequestBody(Lokhttp3/Request;J)Lokio/Sink;
    HSPLokhttp3/internal/http2/Http2ExchangeCodec;->finishRequest()V
    HSPLokhttp3/internal/http2/Http2ExchangeCodec;->getCarrier()Lokhttp3/internal/http/ExchangeCodec$Carrier;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

       * case, we take a 2KiB body and throttle it to 1KiB/second.  We set the read timeout to half a
       * second.  If our implementation is acting correctly, it will throw, as a byte doesn't arrive in
       * time.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun readTimeoutOnSlowConnection(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

    import okio.Sink
    import okio.Source
    
    /** Encodes HTTP requests and decodes HTTP responses. */
    interface ExchangeCodec {
      /** The connection or CONNECT tunnel that owns this codec. */
      val carrier: Carrier
    
      /** Returns an output stream where the request body can be streamed. */
      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

      internal var hasFailure: Boolean = false
        private set
    
      internal val connection: RealConnection
        get() = codec.carrier as? RealConnection ?: error("no connection for CONNECT tunnels")
    
      internal val isCoalescedConnection: Boolean
        get() = finder.routePlanner.address.url.host != codec.carrier.route.address.url.host
    
      @Throws(IOException::class)
      fun writeRequestHeaders(request: Request) {
        try {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.2K bytes
    - Viewed (2)
Back to top