Sha256: d6fd0003c3812c8d6fb82b819e4330b90c83092d03d31553f5e1b14059343ae5
Contents?: true
Size: 784 Bytes
Versions: 52
Compression:
Stored size: 784 Bytes
Contents
#Socket.io (sockio.js) ##Driver Functions `if_sockio_init(url, sp)` - Initialize a socketio socket with the given `url` and refer to it with `sp`. `if_sockio_fwd(sp, event_name, ep)` - A request to forward messages from a socket.io socket that represents `id` to the `ep` address as an `if_event` where the event name is the same as the `socket.io` `event_name` and the information is passed as the `event` field for the `if_event`. Only forward messages matching `event_name`. `if_sockio_send(sp, event_name, info)` - Send a socket.io message with the given message `event_name` and `info` to the socket named `id`. ##Additional info This is functionally different than a debug server that uses the `socket_io` scheme. The debug server is required to handle socket_io by itself.
Version data entries
52 entries across 52 versions & 1 rubygems