(
&self,
py: Python<'_>,
url: PyBackedStr,
kwds: Option<RequestParams>,
)
| 19 | /// Make a GET request to the specified URL. |
| 20 | #[pyo3(signature = (url, **kwds))] |
| 21 | pub fn get( |
| 22 | &self, |
| 23 | py: Python<'_>, |
| 24 | url: PyBackedStr, |
| 25 | kwds: Option<RequestParams>, |
| 26 | ) -> PyResult<BlockingResponse> { |
| 27 | self.request(py, Method::GET, url, kwds) |
| 28 | } |
| 29 | |
| 30 | /// Make a POST request to the specified URL. |
| 31 | #[pyo3(signature = (url, **kwds))] |