alibabacloud_oss_v2.aio.transport package¶
Submodules¶
alibabacloud_oss_v2.aio.transport.aiohttp_client module¶
AsyncHttpClient implement based on aiohttp
- class alibabacloud_oss_v2.aio.transport.aiohttp_client.AioHttpClient(**kwargs)[source]¶
Bases:
AsyncHttpClient
Implements a basic aiohttp HTTP sender.
- async send(request: HttpRequest, **kwargs: Any) AsyncHttpResponse [source]¶
Sends an HTTP request and returns an HTTP response.
An error is returned if caused by client policy (such as CheckRedirect), or failure to speak HTTP (such as a network connectivity problem). A non-2xx status code doesn’t cause an error.
- Parameters:
request (Any) – the http request sent to server.
- Return type:
httpResponse
- Returns:
The response object.