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

Function request

src/client/mod.rs:109–116  ·  view source on GitHub ↗
(
    py: Python<'_>,
    method: Method,
    url: PyBackedStr,
    kwds: Option<RequestParams>,
)

Source from the content-addressed store, hash-verified

107#[pyfunction]
108#[pyo3(signature = (method, url, **kwds))]
109pub fn request(
110 py: Python<'_>,
111 method: Method,
112 url: PyBackedStr,
113 kwds: Option<RequestParams>,
114) -> PyResult<Bound<'_, PyAny>> {
115 future_into_py(py, shortcut_request(url, method, kwds))
116}
117
118/// Make a WebSocket connection with the given parameters.
119#[pyfunction]

Callers

nothing calls this directly

Calls 1

shortcut_requestFunction · 0.85

Tested by

no test coverage detected