ConnectionRequest

First packet sent by the client after the connection is established. It contains informations used by the hub to check permissions and compatibility.

Members

Mixins

__anonymous
mixin IO!(password, name, main, protocol)
Undocumented in source.

Variables

ID
enum ubyte ID;
Undocumented in source.
main
bool main;

Indicates whether the node accepts clients when they first connect to the hub or exclusively when they are transferred.

name
string name;

Name of the node that will be validated by the hub. It should always be lowercase and only contain letters, numbers, dashes and underscores.

password
string password;

Password, if the hub requires one, or an empty string.

protocol
uint protocol;

Version of the protocol used by the client that must match the hub's one.

Meta