AsyncPipelineRequestsHTTPSender Class

Implements a basic Pipeline, that supports universal HTTP lib "requests" driver.

Inheritance
AsyncPipelineRequestsHTTPSender

Constructor

AsyncPipelineRequestsHTTPSender(universal_http_requests_driver: Optional[msrest.universal_http.async_requests.AsyncBasicRequestsHTTPSender] = None)

Parameters

universal_http_requests_driver
default value: None

Methods

build_context

Allow the sender to build a context that will be passed across the pipeline with the request.

Return type has no constraints. Implementation is not required and None by default.

close
send

Send request object according to configuration.

build_context

Allow the sender to build a context that will be passed across the pipeline with the request.

Return type has no constraints. Implementation is not required and None by default.

build_context() -> msrest.pipeline.requests.RequestsContext

close

async close()

send

Send request object according to configuration.

async send(request: msrest.pipeline.Request, **kwargs) -> msrest.pipeline.Response

Parameters

request
Request
Required

The request object to be sent.