Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/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(
          parse("https://example.com:1234")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/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,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          client.newBuilder()
            .proxy(server.toProxyAddress())
            .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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top