- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 135 for WebSocket (0.06 seconds)
-
cmd/grid.go
func initGlobalGrid(ctx context.Context, eps EndpointServerPools) error { hosts, local := eps.GridHosts() lookupHost := globalDNSCache.LookupHost g, err := grid.NewManager(ctx, grid.ManagerOptions{ // Pass Dialer for websocket grid, make sure we do not // provide any DriveOPTimeout() function, as that is not // useful over persistent connections. Dialer: grid.ConnectWS(
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 3.7K bytes - Click Count (0) -
fastapi/websockets.py
from starlette.websockets import WebSocket as WebSocket # noqa from starlette.websockets import WebSocketDisconnect as WebSocketDisconnect # noqa
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Sep 04 15:12:10 GMT 2022 - 222 bytes - Click Count (0) -
fastapi/__init__.py
from .param_functions import Security as Security from .requests import Request as Request from .responses import Response as Response from .routing import APIRouter as APIRouter from .websockets import WebSocket as WebSocket
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:21:01 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/en/docs/advanced/testing-websockets.md
For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note For more details, check Starlette's documentation for [testing WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 411 bytes - Click Count (0) -
docs/zh/docs/advanced/testing-websockets.md
# 测试 WebSockets { #testing-websockets } 你可以使用同一个 `TestClient` 来测试 WebSockets。 为此,在 `with` 语句中使用 `TestClient` 连接到 WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | 注意 更多细节请查看 Starlette 的文档:[测试 WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 403 bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import com.squareup.moshi.ToJson; import java.io.IOException; import okhttp3.Call; import okhttp3.HttpUrl; import okhttp3.WebSocket; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import okhttp3.WebSocketListener; import okio.ByteString; /**
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) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt
), ) } @Test fun multiplePerMessageDeflateHeaders() { val extensions = WebSocketExtensions.parse( headersOf( "Sec-WebSocket-Extensions", "", "Sec-WebSocket-Extensions", "permessage-deflate", ), ) assertThat(extensions) .isEqualTo( WebSocketExtensions( perMessageDeflate = true,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/en/docs/reference/httpconnection.md
# `HTTPConnection` class When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`. You can import it from `fastapi.requests`: ```python from fastapi.requests import HTTPConnection ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 359 bytes - Click Count (0) -
docs/en/docs/reference/fastapi.md
``` ::: fastapi.FastAPI options: members: - openapi_version - webhooks - state - dependency_overrides - openapi - websocket - include_router - get - put - post - delete - options - head - patch - traceCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 701 bytes - Click Count (0)