This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CMD_INNER_READY = 'innerReady' | |
const CMD_RESPONSE = 'response' | |
const CMD_WRAPPER_READY = 'wrapperReady' | |
const CMD_PING = 'ping' | |
const CMD_PONG = 'pong' | |
const CMD_WRAPPER_OPENED_WEBSOCKET = 'wrapperOpenedWebsocket' | |
const CMD_WRAPPER_CLOSE_WEBSOCKET = 'wrapperClosedWebsocket' | |
class ZeroFrame { | |
constructor(url) { |