You are reading a single comment by @J{a}SON and its replies. Click here to read the full conversation.
  • ok, this is working now with espruino as the ws client, and ws server. getPage() is working as well.

    i do have an additional question: when espruino is the ws client, and i send a message from the node.js server, it shows up as a rawData event as well as a message event. is this expected?

    wsConnect()
    =undefined
    RAW: HTTP/1.1 101 Switching Protocols
    Upgrade: websocket
    Connection: Upgrade
    Sec-WebSocket-Accept: NRGmTTLwn7B71D1ZNRdkobCXs/0=
    Sec-WebSocket-Protocol: echo-protocol
    Handshake Success
    Connected to server
    RAW:  something
    MSG: something

About

Avatar for J{a}SON @J{a}SON started