Skip to main content

ProxyConnectUdpMethod

Type Alias ProxyConnectUdpMethod 

Source
pub type ProxyConnectUdpMethod<C, B = Body> = MaybeProxiedConnector<UdpConnector, HttpConnectUdpProxyConnector<ProxyDialer<C>, ProxyRequestBody<B>>, ProxiedRoute>;
Available on crate features dns and http-backend and http and std and tcp only.
Expand description

The CONNECT-UDP method of a ProxyConnector over the HTTP connections C makes to a proxy in the body type B.

Built on a method which is not enabled it refuses a MASQUE route, while every other datagram request still takes a UDP socket of its own, as an HTTP/3 origin reached without a proxy needs.

Aliased Type§

pub struct ProxyConnectUdpMethod<C, B = Body> { /* private fields */ }