Module tokio_irc_client::client [] [src]

The client module contains all types needed to make a connection to a remote IRC host.

Structs

Client

A light-weight client type for establishing connections to remote servers. This type consumes a given SocketAddr and provides several methods for establishing connections to a remote server. Currently these methods allow for the connection to a server with unencrypted data and TLS encrypted data.

ClientConnectFuture

Represents a future, that when resolved provides an unecrypted Stream that can be used to receive Message from the server and send Message to the server.

IrcTransport

IrcTransport represents a framed IRC stream returned from the connection methods when their given futures are resolved. It internally handles the processing of PING requests and timing out the connection when no PINGs have been recently received from the server.