Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 216 for Protocols (0.17 sec)

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

            connectTls(sslSocket, connectionSpec)
            user.secureConnectEnd(handshake)
          } else {
            socket = rawSocket
            protocol =
              when {
                Protocol.H2_PRIOR_KNOWLEDGE in route.address.protocols -> Protocol.H2_PRIOR_KNOWLEDGE
                else -> Protocol.HTTP_1_1
              }
          }
    
          val connection =
            RealConnection(
              taskRunner = taskRunner,
    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)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val i = HttpLoggingInterceptor()
    
        builder.interceptors().add(i)
        builder.networkInterceptors().add(i)
      }
    
      @Test
      fun protocol() {
        var protocol: Protocol = Protocol.HTTP_2
        protocol = Protocol.get("")
      }
    
      @Test
      fun pushPromise() {
        val pushPromise: PushPromise = PushPromise("", "", headersOf(), MockResponse())
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        socketAdapters.find { it.matchesSocket(sslSocket) }
          ?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @Test
      @Throws(IOException::class)
      fun secondCallEventSequence() {
        enableTls()
        server!!.protocols = listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
        server!!.enqueue(MockResponse())
        server!!.enqueue(MockResponse())
    
        client.newCall(Request(server!!.url("/")))
          .execute().close()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt

      fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      )
    
      fun getSelectedProtocol(sslSocket: SSLSocket): String?
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        override fun getEnabledProtocols(): Array<String> {
          return enabledProtocols
        }
    
        override fun setEnabledProtocols(protocols: Array<String>) {
          this.enabledProtocols = protocols
        }
    
        override fun getSupportedCipherSuites(): Array<String> {
          return supportedCipherSuites
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

       *
       * For cipher suites, at least one of the [required cipher suites][cipherSuites] must match the
       * socket's enabled cipher suites. If there are no required cipher suites the socket must have at
       * least one cipher suite enabled.
       *
       * For protocols, at least one of the [required protocols][tlsVersions] must match the socket's
       * enabled protocols.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        return delegate!!.supportedProtocols
      }
    
      override fun getEnabledProtocols(): Array<String> {
        return delegate!!.enabledProtocols
      }
    
      override fun setEnabledProtocols(protocols: Array<String>) {
        delegate!!.enabledProtocols = protocols
      }
    
      override fun getSession(): SSLSession {
        return delegate!!.session
      }
    
      override fun addHandshakeCompletedListener(listener: HandshakeCompletedListener) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

                sslSocketFactory(
                  sslSocketFactory,
                  handshakeCertificates.trustManager,
                )
    
                when (socketMode.protocol) {
                  HTTP_2 -> protocols(listOf(HTTP_2, HTTP_1_1))
                  HTTP_1_1 -> protocols(listOf(HTTP_1_1))
                  else -> TODO()
                }
    
                val serverSslSocketFactory =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1/generated.proto

      optional int32 port = 3;
    
      // The application protocol for this port.
      // This is used as a hint for implementations to offer richer behavior for protocols that they understand.
      // This field follows standard Kubernetes label syntax.
      // Valid values are either:
      //
      // * Un-prefixed protocol names - reserved for IANA standard service names (as per
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top