class

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))
Source

Instance methods

connect(ws : WSSender, ctx : HTTP::Server::Context, player : PlayerInfo)
Source
disconnect(ctx : HTTP::Server::Context, player : PlayerInfo)
Source
message(opcode : String, key : String, val)
Source