Crate third_wheel[][src]

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

CertificateAuthority

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.

MitmProxy

The main struct of the crate. Start here.

MitmProxyBuilder

Builder interface for constructing MitmProxy’s

ThirdWheel

A service that will proxy traffic to a target server and return unmodified responses

Enums

Error

Functions

create_signed_certificate_for_domain

Sign a certificate for this domain

mitm_layer

A convenience function for generating man-in-the-middle services