- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for wss (0.13 seconds)
-
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:/
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 14.3K bytes - Click Count (0) -
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); } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Click Count (0) -
docs/en/docs/advanced/middleware.md
/// ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware } Enforces that all incoming requests must either be `https` or `wss`. Any incoming request to `http` or `ws` will be redirected to the secure scheme instead. {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/middleware.md
**FastAPI** 在 `fastapi.middleware` 中提供了一些中介軟體,純粹是為了方便你這位開發者。但大多數可用的中介軟體直接來自 Starlette。 /// ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware } 強制所有傳入請求必須使用 `https` 或 `wss`。 任何指向 `http` 或 `ws` 的請求都會被重新導向至對應的安全協定。 {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/zh/docs/advanced/middleware.md
**FastAPI** 在 `fastapi.middleware` 中提供的中间件只是为了方便开发者使用,但绝大多数可用的中间件都直接继承自 Starlette。 /// ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware } 强制所有传入请求必须是 `https` 或 `wss`。 任何传向 `http` 或 `ws` 的请求都会被重定向至安全方案。 {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware } 强制所有传入请求都必须正确设置 `Host` 请求头,以防 HTTP 主机头攻击。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.7K bytes - Click Count (0) -
internal/grid/grid.go
return func(ctx context.Context, remote string) (net.Conn, error) { toDial := strings.Replace(remote, "http://", "ws://", 1) toDial = strings.Replace(toDial, "https://", "wss://", 1) toDial += routePath dialer := ws.DefaultDialer dialer.ReadBufferSize = readBufferSize dialer.WriteBufferSize = writeBufferSize dialer.Timeout = defaultDialTimeout if dial != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
internal/event/target/mqtt.go
// Validate MQTTArgs fields func (m MQTTArgs) Validate() error { if !m.Enable { return nil } u, err := xnet.ParseURL(m.Broker.String()) if err != nil { return err } switch u.Scheme { case "ws", "wss", "tcp", "ssl", "tls", "tcps": default: return errors.New("unknown protocol in broker address") } if m.QueueDir != "" { if !filepath.IsAbs(m.QueueDir) { return errors.New("queueDir path should be absolute")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.2K bytes - Click Count (0) -
docs/ja/docs/advanced/middleware.md
**FastAPI** は開発者であるあなたの便宜のために `fastapi.middleware` にいくつかのミドルウェアを提供しています。しかし、利用可能なミドルウェアの多くは Starlette から直接提供されています。 /// ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware } すべての受信リクエストが `https` または `wss` でなければならないように強制します。 `http` または `ws` への受信リクエストは、安全なスキームにリダイレクトされます。 {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
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. *Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
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(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0)