- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for WS (0.01 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PING import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PONG import okhttp3.internal.ws.WebSocketProtocol.OPCODE_FLAG_CONTROL import okhttp3.internal.ws.WebSocketProtocol.OPCODE_TEXT import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_LONG
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertClosed(1000, "") serverListener.assertClosed(1000, "") } @Test fun wsScheme() { assumeNotWindows() websocketScheme("ws") } @Test fun wsUppercaseScheme() { websocketScheme("WS") } @Test fun wssScheme() { webServer.useHttps(handshakeCertificates.sslSocketFactory()) client = client .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
ftp://foo:21/ s:ftp h:foo p:/ ftp://foo:80/ s:ftp h:foo port:80 p:/ gopher://foo:70/ s:gopher h:foo p:/ gopher://foo:443/ s:gopher h:foo port:443 p:/ 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:/
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
import okhttp3.internal.connection.asBufferedSocket import okhttp3.internal.okHttpName import okhttp3.internal.ws.WebSocketProtocol.CLOSE_CLIENT_GOING_AWAY import okhttp3.internal.ws.WebSocketProtocol.CLOSE_MESSAGE_MAX import okhttp3.internal.ws.WebSocketProtocol.OPCODE_BINARY import okhttp3.internal.ws.WebSocketProtocol.OPCODE_TEXT import okhttp3.internal.ws.WebSocketProtocol.validateCloseCode import okio.BufferedSink import okio.BufferedSource
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.ws import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isGreaterThan import assertk.assertions.isLessThan import assertk.assertions.isTrue
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
import okhttp3.internal.immutableListOf import okhttp3.internal.platform.Platform import okhttp3.internal.threadFactory import okhttp3.internal.toImmutableList import okhttp3.internal.ws.RealWebSocket import okhttp3.internal.ws.WebSocketExtensions import okhttp3.internal.ws.WebSocketProtocol import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString import okio.Sink import okio.Timeout import okio.buffer
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.ws import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEqualTo import assertk.assertions.matches import java.io.EOFException import java.io.IOException
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
open fun url(url: String): Builder = url(canonicalUrl(url).toHttpUrl()) // 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) -
docs/changelogs/changelog_2x.md
* **RC4 cipher suites are no longer supported by default.** To connect to old, obsolete servers relying on these cipher suites, you must create a custom `ConnectionSpec`. * **Beta WebSockets support.**. The `okhttp-ws` subproject offers a new websockets client. Please try it out! When it's ready we intend to include it with the core OkHttp library. * **Okio updated to 1.3.0.** ```xml <dependency>
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0)