sinch.core.adapters.requests_http_transport module
- class sinch.core.adapters.requests_http_transport.HTTPTransportRequests(sinch)[source]
Bases:
HTTPTransportSync HTTP transport using the requests library.
- send_request(
- request_data: HttpRequest,
Performs the HTTP call with requests and maps the result to an HTTPResponse.
- Parameters:
request_data (HttpRequest) – The prepared request to send.
- Returns:
The HTTP response.
- Return type: