actix_tls

Module connect

source
Expand description

TCP and TLS connector services.

§Stages of the TCP connector service:

  1. Resolve Host (if needed) with given Resolver and collect list of socket addresses.
  2. Establish TCP connection and return TcpStream.

§Stages of TLS connector services:

  1. Resolve DNS and establish a TcpStream with the TCP connector service.
  2. Wrap the stream and perform connect handshake with remote peer.
  3. Return wrapped stream type that implements AsyncRead and AsyncWrite.

Modules§

Structs§

Enums§

  • Errors that can result from using a connector service.

Traits§

  • An interface for types where host parts (hostname and port) can be derived.
  • Custom async DNS resolvers.