+For a list of standard middleware, see [the Connect documentation](http://www.senchalabs.org/connect/).
+A lot of Zappa methods are shortcuts or extensions of the [Express API](http://expressjs.com/api.html).
+Only some of the [Socket.IO events](https://github.com/LearnBoost/socket.io/wiki/Exposed-events) are documented here.
`require 'zappajs'` returns a function with the following attributes:
@@ -147,6 +155,8 @@ Shortcut to socket.io's `socket.on 'event'`.
The handler functions will have access to all variables described in the **sockets handlers scope** section. They won't have access to their parent scope. To make variables available to these handlers, use `helper`.
+Some standard [events](https://github.com/LearnBoost/socket.io/wiki/Exposed-events): `connection`, `message`, `disconnect`.
Helpers content is made available to both the request handler and sockets handler scopes.
@@ -780,6 +790,8 @@ Should be called first when the client is started to establish the Socket.IO web