[][src]Module twitchchat::sync

Synchronous methods

This is just provided so you can open a std::net::TcpStream connection

And so you have a register() method that works with just std::io::Write

You probably would want to use the async connect/register methods from the crate root.

Structs

Encoder

An encoder for messages

Functions

connect

Opens a sync TCP connection using the provided UserConfig

connect_easy

Opens a sync TCP connection using the provided name and token

register

Write the provided UserConfig to the sync writer

register_easy

Write the provided name and token to the sync writer