Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 434 for Protocols (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

    import java.net.ProtocolException
    import okhttp3.Protocol
    import okhttp3.Response
    import okio.IOException
    
    /** An HTTP response status line like "HTTP/1.1 200 OK". */
    class StatusLine(
      @JvmField val protocol: Protocol,
      @JvmField val code: Int,
      @JvmField val message: String,
    ) {
      override fun toString(): String {
        return buildString {
          if (protocol == Protocol.HTTP_1_0) {
            append("HTTP/1.0")
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

    {
      "workloads": {
        "network1/10.244.2.54": {
          "workloadIps": [
            "10.244.2.54"
          ],
          "waypoint": {
            "destination": "/10.96.65.117",
            "port": 15008
          },
          "protocol": "HBONE",
          "uid": "Kubernetes//Pod/bookinfo/ratings-v1-6484c4d9bb-mdxm5",
          "name": "ratings-v1-6484c4d9bb-mdxm5",
          "namespace": "bookinfo",
          "trustDomain": "cluster.local",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CorrettoTest.kt

          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      @Disabled
      fun testGoogle() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://google.com/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Response.kt

       * [priorResponse] objects, which have its own [priorResponse].
       */
      @get:JvmName("request") val request: Request,
      /** Returns the HTTP protocol, such as [Protocol.HTTP_1_1] or [Protocol.HTTP_1_0]. */
      @get:JvmName("protocol") val protocol: Protocol,
      /** Returns the HTTP status message. */
      @get:JvmName("message") val message: String,
      /** Returns the HTTP status code. */
      @get:JvmName("code") val code: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              .build()
    
          val response = client.newCall(request).execute()
    
          response.use {
            assertEquals(Protocol.HTTP_2, response.protocol)
            assertEquals(200, response.code)
            // see https://github.com/google/conscrypt/blob/b9463b2f74df42d85c73715a5f19e005dfb7b802/android/src/main/java/org/conscrypt/Platform.java#L613
            when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. docs/pt/docs/deployment/https.md

    * Por padrão, isso significa que você só pode ter um certificado HTTPS por endereço IP.
        * Não importa o tamanho do seu servidor ou quão pequeno cada aplicativo que você tem nele possa ser.
        * No entanto, existe uma solução para isso.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun secureConnectStart()
    
      fun secureConnectEnd(handshake: Handshake?)
    
      fun callConnectEnd(
        route: Route,
        protocol: Protocol?,
      )
    
      fun connectionConnectEnd(
        connection: Connection,
        route: Route,
      )
    
      fun connectFailed(
        route: Route,
        protocol: Protocol?,
        e: IOException,
      )
    
      fun connectionAcquired(connection: Connection)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
      ) {
        logWithTime("connectEnd: $protocol")
      }
    
      override fun connectFailed(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
        ioe: IOException,
      ) {
        logWithTime("connectFailed: $protocol $ioe")
      }
    
      override fun connectionAcquired(
        call: Call,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      }
    
      override fun callConnectEnd(
        route: Route,
        protocol: Protocol?,
      ) {
      }
    
      override fun connectionConnectEnd(
        connection: Connection,
        route: Route,
      ) {
      }
    
      override fun connectFailed(
        route: Route,
        protocol: Protocol?,
        e: IOException,
      ) {
      }
    
      override fun connectionAcquired(connection: Connection) {
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void connectEnd(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) {
          printEvent("connectEnd");
        }
    
        @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy,
            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
Back to top