Expand description
third-wheel is a TLS man-in-the-middle proxy library. Using the crate allows
you to intercept, re-route, modify etc. in-flight HTTP requests and responses
between clients and servers. Client code needs to provide a Layer that
constructs a Service for intercepting requests and responses. mitm_layer
provides a convenience function for producing these easily.
The best way to see how to use this crate is to take a look at the examples.
Re-exports§
pub use hyper;
Structs§
- Certificate
Authority - A certificate authority to use for impersonating websites during the man-in-the-middle. The client must trust the given certificate for it to trust the proxy.
- Mitm
Proxy - The main struct of the crate. Start here.
- Mitm
Proxy Builder - Builder interface for constructing
MitmProxy
’s - Third
Wheel - A service that will proxy traffic to a target server and return unmodified responses
Enums§
Functions§
- create_
signed_ certificate_ for_ domain - Sign a certificate for this domain
- mitm_
layer - A convenience function for generating man-in-the-middle services