Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ResetStreamAtStart (0.11 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/api/mockwebserver3.api

    public final class mockwebserver3/SocketPolicy$NoResponse : mockwebserver3/SocketPolicy {
    	public static final field INSTANCE Lmockwebserver3/SocketPolicy$NoResponse;
    }
    
    public final class mockwebserver3/SocketPolicy$ResetStreamAtStart : mockwebserver3/SocketPolicy {
    	public fun <init> ()V
    	public fun <init> (I)V
    	public synthetic fun <init> (IILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun getHttp2ErrorCode ()I
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. 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