(
&self,
py: Python<'py>,
url: PyBackedStr,
kwds: Option<WebSocketParams>,
)
| 140 | /// Make a WebSocket request to the given URL. |
| 141 | #[pyo3(signature = (url, **kwds))] |
| 142 | pub fn websocket<'py>( |
| 143 | &self, |
| 144 | py: Python<'py>, |
| 145 | url: PyBackedStr, |
| 146 | kwds: Option<WebSocketParams>, |
| 147 | ) -> PyResult<Bound<'py, PyAny>> { |
| 148 | let client = self.0.clone(); |
| 149 | future_into_py(py, execute_websocket_request(client, url, kwds)) |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | #[pymethods] |
nothing calls this directly
no test coverage detected