Skip to main content

connect

Function connect 

Source
pub async fn connect(spec: &ConnectSpec) -> Result<BoxConn>
Expand description

Dial a connection per spec: TLS handshake when configured, then the bearer-token preamble when a token is configured.