Struct sentry::transports::SurfHttpTransport
source · pub struct SurfHttpTransport { /* private fields */ }
Available on crate feature
surf
only.Expand description
Implementations§
source§impl SurfHttpTransport
impl SurfHttpTransport
sourcepub fn new(options: &ClientOptions) -> Self
pub fn new(options: &ClientOptions) -> Self
Creates a new Transport.
sourcepub fn with_client(options: &ClientOptions, client: SurfClient) -> Self
pub fn with_client(options: &ClientOptions, client: SurfClient) -> Self
Creates a new Transport that uses the specified SurfClient
.