Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 9,269 for http2 (0.03 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.SocketTimeoutException
    import java.util.ArrayDeque
    import okhttp3.Headers
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.assertLockNotHeld
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

    import okhttp3.CallEvent.ProxySelectStart
    import okhttp3.CallEvent.SecureConnectStart
    import okhttp3.EventRecorder
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.internal.http2.ConnectionShutdownException
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import okhttp3.tls.internal.TlsUtil.newKeyManager
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    import okhttp3.CallEvent.ConnectEnd
    import okhttp3.CallEvent.ConnectFailed
    import okhttp3.CallEvent.ConnectStart
    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
    import org.junit.jupiter.api.Timeout
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      }
    
      /** Use a proxy to fake IPv6 connectivity, even if localhost doesn't have IPv6.  */
      private fun configureClientAndServerProxies(http2: Boolean) {
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols =
          when {
            http2 -> listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
            else -> listOf(Protocol.HTTP_1_1)
          }
        server.enqueue(
          MockResponse
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.internal.http.ExchangeCodec.Companion.DISCARD_STREAM_TIMEOUT_MILLIS
    import okhttp3.internal.http2.Http2Connection.Companion.OKHTTP_CLIENT_WINDOW_SIZE
    import okhttp3.testing.PlatformRule
    import okio.BufferedSource
    import okio.IOException
    import okio.Path.Companion.toPath
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 08 21:45:04 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    import okhttp3.Dispatcher
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    
    /** GMT and UTC are equivalent for our purposes. */
    @JvmField
    internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!!
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 10.2K bytes
    - Click Count (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      private fun retryAfter(
        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Host} header field name. */
      public static final String HOST = "Host";
    
      /**
       * The HTTP <a href="https://datatracker.ietf.org/doc/html/rfc7540#section-3.2.1">{@code
       * HTTP2-Settings} </a> header field name.
       *
       * @since 24.0
       */
      public static final String HTTP2_SETTINGS = "HTTP2-Settings";
    
      /** The HTTP {@code If-Match} header field name. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 27 20:37:16 GMT 2025
    - 35.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      @RegisterExtension
      val testLogHandler: TestLogHandler = TestLogHandler(Http2::class.java)
    
      // Flaky https://github.com/square/okhttp/issues/4632
      // Flaky https://github.com/square/okhttp/issues/4633
      private val handshakeCertificates: HandshakeCertificates =
        platform.localhostHandshakeCertificates()
    
      @StartStop
      private val server = MockWebServer()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.internal.authenticator.JavaNetAuthenticator
    import okhttp3.internal.http2.Settings
    import okhttp3.internal.proxy.NullProxySelector
    import okhttp3.internal.tls.OkHostnameVerifier
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.logging.HttpLoggingInterceptor
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 47K bytes
    - Click Count (0)
Back to Top