Class: Client

Client(url)

The Client class

Constructor

new Client(url)

Parameters:
Name Type Description
url string Connect to a socketry server (ids start with a '0')
Source:

Methods

end()

End the client connection
Source:

joinRoom(room)

Join a room
Parameters:
Name Type Description
room string Name of the room you would like to join
Source: