BesterClient

Undocumented in source.

Constructors

this
this(string serverAddress, ushort serverPort)
Undocumented in source.

Members

Functions

authenticate
void authenticate(string username, string password)

Authenticates the user to the server.

close
JSONValue close()

Closes the active connection.

connect
void connect()
Undocumented in source. Be warned that the author may not have intended to support it.
receive
JSONValue receive()

Receives a message off the message queue and returns it as a JSON value.

send
void send(string type, JSONValue data, string id)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta