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

Version Path
flok-0.0.71 docs/mod/sockio.md
flok-0.0.70 docs/mod/sockio.md
flok-0.0.69 docs/mod/sockio.md
flok-0.0.68 docs/mod/sockio.md
flok-0.0.67 docs/mod/sockio.md
flok-0.0.66 docs/mod/sockio.md
flok-0.0.65 docs/mod/sockio.md
flok-0.0.64 docs/mod/sockio.md
flok-0.0.63 docs/mod/sockio.md
flok-0.0.62 docs/mod/sockio.md
flok-0.0.61 docs/mod/sockio.md
flok-0.0.60 docs/mod/sockio.md
flok-0.0.57 docs/mod/sockio.md
flok-0.0.56 docs/mod/sockio.md
flok-0.0.55 docs/mod/sockio.md
flok-0.0.54 docs/mod/sockio.md
flok-0.0.53 docs/mod/sockio.md
flok-0.0.52 docs/mod/sockio.md
flok-0.0.51 docs/mod/sockio.md
flok-0.0.50 docs/mod/sockio.md