MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / shortcut_websocket_request

Function shortcut_websocket_request

src/client/opts.rs:49–57  ·  view source on GitHub ↗
(
    url: U,
    params: Option<WebSocketParams>,
)

Source from the content-addressed store, hash-verified

47
48#[inline]
49pub async fn shortcut_websocket_request<U>(
50 url: U,
51 params: Option<WebSocketParams>,
52) -> PyResult<WebSocket>
53where
54 U: AsRef<str>,
55{
56 execute_websocket_request(DEFAULT_CLIENT.clone(), url, params).await
57}
58
59/// Executes an HTTP request.
60pub async fn execute_request<U>(

Callers 1

websocketFunction · 0.85

Calls 1

Tested by

no test coverage detected