Turnir::Client::VkWebsocket
Constants
CHANNEL_INFO_URL = "https://api.live.vkvideo.ru/v1/blog/{{name}}/public_video_stream/chat/user/"
Headers = HTTP::Headers {"Origin" => "https://live.vkvideo.ru"}
WebsocketMutex = Mutex.new
WS_URL = "wss://pubsub.live.vkvideo.ru/connection/websocket?cf_protocol_version=v2"
Instance methods
get_vk_app_config
Sourcelog(msg)
Sourceparse_message(json_message)
Sourcestart(sync_channel : Channel(Nil), storage : Turnir::ChatStorage::Storage, channels_map : Hash(String, String))
Sourcestop
Sourceverbose_log(msg)
Source