pub trait Transport { // Required method fn send(&self, signed: Request) -> Result<(u16, String), Box<dyn Error>>; }
A trait to implement the behavior for sending requests, often your “IO” layer
Accepts a signed http::Request<Vec<u8>> and returns a tuple representing a response’s HTTP status code and body
http::Request<Vec<u8>>