Module actix_tls::connect[][src]

TCP connector services for Actix ecosystem.

Stages of the TCP connector service:

  • Resolve Address with given Resolver and collect list of socket addresses.
  • Establish TCP connection and return TcpStream.

Stages of TLS connector services:

  • Establish TcpStream with connector service.
  • Wrap the stream and perform connect handshake with remote peer.
  • Return certain stream type that impls AsyncRead and AsyncWrite.

Package feature

  • openssl - enables TLS support via openssl crate
  • rustls - enables TLS support via rustls crate

Modules

ssl

SSL Services

Structs

Connect

Connection info.

ConnectService
ConnectServiceFactory
Connection
ResolverFactory

DNS Resolver Service Factory

TcpConnector

TCP connector service

TcpConnectorFactory

TCP connector service factory

Enums

ConnectError
Resolver

DNS Resolver Service

Traits

Address

Parse a host into parts (hostname and port).

Resolve

An interface for custom async DNS resolvers.

Functions

default_connector

Create connector service with default parameters.

default_connector_factory

Create connector service factory with default parameters.

new_connector

Create TCP connector service.

new_connector_factory

Create TCP connector service factory.