hs.websocket.new(url, callback) -> object
hs.websocket
objecths.websocket:close() -> object
hs.websocket
objecths.websocket:send(message[, isData]) -> object
hs.websocket
objectfalse
may alter the data if it contains invalid UTF8 character sequences (the default string behavior is to make sure everything is "printable" by converting invalid sequences into the Unicode Invalid Character sequence).hs.websocket:status() -> string