Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for wsScheme (0.13 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

            .newBuilder()
            .scheme("https")
            .build()
            .port,
        ).isEqualTo(443)
        assertThat(
          parse("https://example.com")
            .newBuilder()
            .scheme("http")
            .build()
            .port,
        ).isEqualTo(80)
        assertThat(
          parse("https://example.com:1234")
            .newBuilder()
            .scheme("http")
            .build()
            .port,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

              ).hostnameVerifier(RecordingHostnameVerifier())
              .build()
          scheme = "https"
        } else {
          server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
          client =
            clientTestRule
              .newClientBuilder()
              .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE))
              .build()
          scheme = "http"
        }
      }
    
      @AfterEach fun tearDown() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Header.kt

        const val RESPONSE_STATUS_UTF8 = ":status"
        const val TARGET_METHOD_UTF8 = ":method"
        const val TARGET_PATH_UTF8 = ":path"
        const val TARGET_SCHEME_UTF8 = ":scheme"
        const val TARGET_AUTHORITY_UTF8 = ":authority"
    
        @JvmField val RESPONSE_STATUS: ByteString = RESPONSE_STATUS_UTF8.encodeUtf8()
    
        @JvmField val TARGET_METHOD: ByteString = TARGET_METHOD_UTF8.encodeUtf8()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

        public String hostname;
    
        /** The port number of the file server (0 to 2147483647). */
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer port;
    
        /** The protocol scheme for file access (maximum 10 characters). */
        @Size(max = 10)
        public String protocolScheme;
    
        /** The username for file authentication (required, maximum 100 characters). */
        @Required
        @Size(max = 100)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webauth/CreateForm.java

        @ValidateTypeFailure
        public Integer port;
    
        /**
         * The authentication realm.
         */
        @Size(max = 100)
        public String authRealm;
    
        /**
         * The protocol scheme (http, https).
         */
        @Size(max = 10)
        public String protocolScheme;
    
        /**
         * The username for authentication.
         */
        @Required
        @Size(max = 100)
        public String username;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

            }
          }
        }.buffer()
    
      val localAddress: InetAddress
        get() = javaNetSocket.localAddress
    
      val localPort: Int
        get() = javaNetSocket.localPort
    
      val scheme: String
        get() =
          when (javaNetSocket) {
            is SSLSocket -> "https"
            else -> "http"
          }
    
      val handshake: Handshake?
        get() = (javaNetSocket as? SSLSocket)?.session?.handshake()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
      private void doExpectCollects(R expectedResult, List<T> inputs) {
        for (CollectStrategy scheme : CollectStrategy.values()) {
          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs/features/connections.md

    ### [URLs](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-http-url/)
    
    URLs (like `https://github.com/square/okhttp`) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.
    
    URLs are abstract:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      @Test fun corruptedUrl() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // strip https scheme
              it.substring(5)
            }
          }
    
        assertThat(response.body.string()).isEqualTo("ABC.2") // not cached
        assertThat(cache.requestCount()).isEqualTo(2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top