Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wss (0.02 sec)

  1. 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)
Back to top