Returns the TLS peer certificate of the response.
(
&'py self,
py: Python<'py>,
)
| 85 | |
| 86 | /// Returns the TLS peer certificate of the response. |
| 87 | pub fn peer_certificate<'py>( |
| 88 | &'py self, |
| 89 | py: Python<'py>, |
| 90 | ) -> PyResult<Option<Bound<'py, PyAny>>> { |
| 91 | self.0.peer_certificate(py) |
| 92 | } |
| 93 | |
| 94 | /// Returns the text content of the response. |
| 95 | pub fn text(&self, py: Python) -> PyResult<String> { |
no outgoing calls