Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 443 (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       * For example, this returns 8443 for `https://square.com:8443/` and 443 for
       * `https://square.com/`. The result is in `[1..65535]`.
       *
       * | URL                 | `port()` |
       * | :------------------ | :------- |
       * | `http://host/`      | `80`     |
       * | `http://host:8000/` | `8000`   |
       * | `https://host/`     | `443`    |
       */
      @get:JvmName("port") val port: Int,
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .newBuilder()
            .proxy(server.proxyAddress)
            .build()
    
        val url = server.url("/").resolve("//android.com/foo")!!
        val port =
          when (url.scheme) {
            "https" -> 443
            "http" -> 80
            else -> error("unexpected scheme")
          }
    
        val call = client.newCall(Request(url))
        val response = call.execute()
    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/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      @Test
      fun changingSchemeChangesDefaultPort() {
        assertThat(
          parse("http://example.com")
            .newBuilder()
            .scheme("https")
            .build()
            .port,
        ).isEqualTo(443)
        assertThat(
          parse("https://example.com")
            .newBuilder()
            .scheme("http")
            .build()
            .port,
        ).isEqualTo(80)
        assertThat(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
Back to top