Struct irc::client::conn::NetConnection [] [src]

pub struct NetConnection { /* fields omitted */ }

A thread-safe connection over a buffered NetStream.

Methods

impl NetConnection
[src]

Creates a thread-safe TCP connection to the specified server.

Creates a thread-safe TCP connection to the specified server over SSL. If the library is compiled without SSL support, this method panics.

Trait Implementations

impl Connection for NetConnection
[src]

Sends a message over this connection.

Receives a single line from this connection.

Gets the full record of all sent messages if the Connection records this. This is intended for use in writing tests. Read more

Re-establishes this connection, disconnecting from the existing case if necessary.