Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for wss (0.01 sec)

  1. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    ws://foo:80/  s:ws h:foo p:/
    ws://foo:81/  s:ws h:foo port:81 p:/
    ws://foo:443/  s:ws h:foo port:443 p:/
    ws://foo:815/  s:ws h:foo port:815 p:/
    wss://foo:80/  s:wss h:foo port:80 p:/
    wss://foo:81/  s:wss h:foo port:81 p:/
    wss://foo:443/  s:wss h:foo p:/
    wss://foo:815/  s:wss h:foo port:815 p:/
    http:/example.com/  s:http h:example.com p:/
    ftp:/example.com/  s:ftp h:example.com p:/
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      static final class SlackJsonAdapters {
        @ToJson String urlToJson(HttpUrl httpUrl) {
          return httpUrl.toString();
        }
    
        @FromJson HttpUrl urlFromJson(String urlString) {
          if (urlString.startsWith("wss:")) urlString = "https:" + urlString.substring(4);
          if (urlString.startsWith("ws:")) urlString = "http:" + urlString.substring(3);
          return HttpUrl.get(urlString);
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        // Silently replace web socket URLs with HTTP URLs.
        private fun canonicalUrl(url: String) =
          when {
            url.startsWith("ws:", ignoreCase = true) -> "http:${url.substring(3)}"
            url.startsWith("wss:", ignoreCase = true) -> "https:${url.substring(4)}"
            else -> url
          }
    
        /**
         * Sets the URL target of this request.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).hostnameVerifier(RecordingHostnameVerifier())
            .build()
        websocketScheme("wss")
      }
    
      @Test
      fun httpsScheme() {
        webServer.useHttps(handshakeCertificates.sslSocketFactory())
        client =
          client
            .newBuilder()
            .sslSocketFactory(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top