Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ResetStreamAtStart (0.08 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

    import mockwebserver3.SocketPolicy.DoNotReadRequestBody
    import mockwebserver3.SocketPolicy.FailHandshake
    import mockwebserver3.SocketPolicy.KeepOpen
    import mockwebserver3.SocketPolicy.NoResponse
    import mockwebserver3.SocketPolicy.ResetStreamAtStart
    import mockwebserver3.SocketPolicy.ShutdownInputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownServerAfterResponse
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .build()
        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode)),
        )
        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode)),
        )
        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode)),
        )
    
        val request = Request(server.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.SocketTimeoutException
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.ResetStreamAtStart
    import mockwebserver3.junit5.internal.MockWebServerInstance
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.PlatformRule
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

    import java.util.concurrent.TimeUnit
    import javax.net.SocketFactory
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.ResetStreamAtStart
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.Flaky
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

       * header timeout issue.
       */
      object NoResponse : SocketPolicy
    
      /**
       * Fail HTTP/2 requests without processing them by sending [http2ErrorCode].
       */
      @ExperimentalOkHttpApi
      class ResetStreamAtStart(
        val http2ErrorCode: Int = 0,
      ) : SocketPolicy
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import mockwebserver3.SocketPolicy.FailHandshake
    import mockwebserver3.SocketPolicy.HalfCloseAfterRequest
    import mockwebserver3.SocketPolicy.NoResponse
    import mockwebserver3.SocketPolicy.ResetStreamAtStart
    import mockwebserver3.SocketPolicy.ShutdownInputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownServerAfterResponse
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top