Function axum::handler::connect[][src]

pub fn connect<H, B, T>(handler: H) -> OnMethod<H, B, T, EmptyRouter> where
    H: Handler<B, T>, 
Expand description

Route CONNECT requests to the given handler.

See get for an example.