Struct mock_proxy::Proxy [−][src]
pub struct Proxy { /* fields omitted */ }
Expand description
Primary interface for the library
Implementations
Register a given mock with the proxy
Will panic if proxy has already been started
Address and port of the local server.
Can be used with std::net::TcpStream
.
Returns the root CA certificate of the server
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proxy
impl UnwindSafe for Proxy