Function tcp_connect
pub async fn tcp_connect<State, Dns, Connector>(
ctx: &Context<State>,
authority: Authority,
allow_overwrites: bool,
dns: Dns,
connector: Connector,
) -> Result<(TcpStream, SocketAddr), OpaqueError>
Expand description
Establish a [TcpStream
] connection for the given Authority
.