- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 162 for websocket (0.08 sec)
-
okhttp/src/test/java/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,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.3K bytes - Viewed (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; /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
docs/en/docs/reference/request.md
```python from fastapi import Request ``` /// tip 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`. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 518 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordedResponse.kt
import java.util.Date /** * A received response or failure recorded by the response recorder. */ class RecordedResponse( @JvmField val request: Request, val response: Response?, val webSocket: WebSocket?, val body: String?, val failure: IOException?, ) { fun assertRequestUrl(url: HttpUrl) = apply { assertThat(request.url).isEqualTo(url) } fun assertRequestMethod(method: String) =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/reference/apirouter.md
You can import the `APIRouter` class directly from `fastapi`: ```python from fastapi import APIRouter ``` ::: fastapi.APIRouter options: members: - websocket - include_router - get - put - post - delete - options - head - patch - trace
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 524 bytes - Viewed (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 - trace
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 701 bytes - Viewed (0) -
istioctl/pkg/authz/testdata/configdump.yaml
} } ] }, "use_remote_address": false, "upgrade_configs": [ { "upgrade_type": "websocket" } ], "stream_idle_timeout": "0s", "normalize_path": true, "request_id_extension": { "typed_config": {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 21 14:20:23 UTC 2023 - 206.7K bytes - Viewed (0) -
docs/en/docs/reference/status.md
It contains a group of named constants (variables) with integer status codes. For example: * 200: `status.HTTP_200_OK` * 403: `status.HTTP_403_FORBIDDEN` * etc. It can be convenient to quickly access HTTP (and WebSocket) status codes in your app, using autocompletion for the name without having to remember the integer status codes by memory.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 871 bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
/** * The HTTP <a href="https://datatracker.ietf.org/doc/html/rfc6455">{@code Sec-WebSocket-Key}</a> * header field name. * * @since 28.0 */ public static final String SEC_WEBSOCKET_KEY = "Sec-WebSocket-Key"; /** * The HTTP <a href="https://datatracker.ietf.org/doc/html/rfc6455">{@code * Sec-WebSocket-Protocol}</a> header field name. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 19:08:38 UTC 2024 - 35.3K bytes - Viewed (0) -
fastapi/routing.py
**Example** ## Example ```python from fastapi import APIRouter, FastAPI, WebSocket app = FastAPI() router = APIRouter() @router.websocket("/ws") async def websocket_endpoint(websocket: WebSocket): await websocket.accept() while True:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0)