more docs

This commit is contained in:
Ritchie Martori
2012-09-09 10:53:30 -07:00
parent 63655c11f5
commit 328022e822
2 changed files with 18 additions and 2 deletions

View File

@@ -44,4 +44,20 @@ Create a new `Store` for persisting data using the database info that was passed
var todos = server.createStore('todos');
// Use the store to CRUD data
todos.insert({name: 'go to the store', done: true}, ...); // see `Store` for more info
todos.insert({name: 'go to the store', done: true}, ...); // see `Store` for more info
## Server.sockets
The **socket.io** sockets `Manager` object ([view source](https://github.com/LearnBoost/socket.io/blob/master/lib/manager.js)).
## Server.sessions
The server's `SessionStore`.
## Server.router
The server's `Router`.
## Server.resources
An `Array` of the server's resource instances. These a built from the config and type loaders.