pub async fn create_outgoing(&self, request: Request) -> Result<OutgoingRequest> {
        let (transport, destination) = self.transports().select(self, &*request.line.uri).await?;

        Ok(OutgoingRequest {
            msg: request,
            parts: OutgoingParts {
                transport,
                destination,
                buffer: Default::default(),
            },
        })
    }
/// Takes a request and converts it into an `Outgoing`.
/// To do so it calculates the destination and retrieves a suitable transport
Takes a request and converts it into an `Outgoing`.
To do so it calculates the destination and retrieves a suitable transport
Takes a request and converts it into an ` Outgoing ` . To do so it calculates the destination and retrieves a suitable transport
pub async fn create_outgoing(&self, request: Request) -> Result<OutgoingRequest> {
        let (transport, destination) = self.transports().select(self, &*request.line.uri).await?;
        Ok(OutgoingRequest {
            msg: request,
            parts: OutgoingParts {
                transport,
                destination,
                buffer: Default::default(),
            },
        })
    }
pub async fn create_outgoing ( & self , request : Request ) -> Result < OutgoingRequest > { let ( transport , destination ) = self . transports ( ) . select ( self , & * request . line . uri ) . await ? ; Ok ( OutgoingRequest { msg : request , parts : OutgoingParts { transport , destination , buffer : Default :: default ( ) , } , } ) }
Takes a request and converts it into an `Outgoing`.
Takes a request and converts it into an ` Outgoing ` .
&self
request
Request