Skip to main content

Transport

Trait Transport 

Source
pub trait Transport {
    // Required method
    fn send(&self, config: &Client, request: RequestParts) -> Result<Raw>;
}
Expand description

Defines the behavior required from a transport participant in the transport workflow.

Required Methods§

Source

fn send(&self, config: &Client, request: RequestParts) -> Result<Raw>

Fixture callback that receives redacted request parts and returns a raw Gingr response.

Implementors§