Skip to main content

default_send_request_handler

Function default_send_request_handler 

Source
pub async fn default_send_request_handler(
    request: Request<HyperOutgoingBody>,
    __arg1: OutgoingRequestConfig,
) -> Result<IncomingResponse, ErrorCode>
Available on crate features p2 and default-send-request only.
Expand description

The underlying implementation of how an outgoing request is sent. This should likely be spawned in a task.

This is called from default_send_request to actually send the request.