Skip to content

WebSocketServer.Payload.UserConnectionMessage

Alex Ander edited this page Apr 14, 2018 · 1 revision
interface UserConnectionMessage {
    Login: string;
    Status: string;
}
// server -> client
{
	Type: "USER_CONNECTION_MESSAGE",
	Payload: {
		Login: "admin2018",
		Status: "CONNECT"
	}
}
// server -> client
{
	Type: "USER_CONNECTION_MESSAGE",
	Payload: {
		Login: "admin2018",
		Status: "DISCONNECT"
	}
}

Clone this wiki locally