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

Function websocket

src/client/mod.rs:121–127  ·  view source on GitHub ↗
(
    py: Python<'_>,
    url: PyBackedStr,
    kwds: Option<WebSocketParams>,
)

Source from the content-addressed store, hash-verified

119#[pyfunction]
120#[pyo3(signature = (url, **kwds))]
121pub fn websocket(
122 py: Python<'_>,
123 url: PyBackedStr,
124 kwds: Option<WebSocketParams>,
125) -> PyResult<Bound<'_, PyAny>> {
126 future_into_py(py, shortcut_websocket_request(url, kwds))
127}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected