encode

fun encode(json: Json, packet: SocketIoPacket): EngineIoPacket.TextMessage