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 Make
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.

Mixed In Members

From mixin Make

__anonymous
mixin xpacket.maker.Make
Undocumented in source.
fromBuffer
typeof(this) fromBuffer(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta