pub type HttpTransport = ReqwestHttpTransport;
Expand description
The default http transport.
Aliased Type§
struct HttpTransport { /* private fields */ }
Implementations
Source§impl ReqwestHttpTransport
impl ReqwestHttpTransport
Sourcepub fn new(options: &ClientOptions) -> Self
pub fn new(options: &ClientOptions) -> Self
Creates a new Transport.
Sourcepub fn with_client(options: &ClientOptions, client: ReqwestClient) -> Self
pub fn with_client(options: &ClientOptions, client: ReqwestClient) -> Self
Creates a new Transport that uses the specified ReqwestClient
.