JuliboxTV::Mocker
Inherits Reference < Object
represents a "mocker" - something that's able to use a websocket connection to host a local game
Constructors
new(lobby : LobbyInfo, args : Array(String))
SourceInstance methods
connect(ws : WSSender, ctx : HTTP::Server::Context, player : PlayerInfo)
Sourcedisconnect(ctx : HTTP::Server::Context, player : PlayerInfo)
Sourcemessage(opcode : String, key : String, val)
Source