Skip to content

Commit

Permalink
README: rename Adaptor to Adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Dec 24, 2012
1 parent fb857bd commit ab5a226
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ io.on('connection', function(){ // … });
If no arguments are supplied this method returns the current value.
### Server#adaptor(v:Adaptor):Server
### Server#adapter(v:Adapter):Server
Sets the adaptor `v`. Defaults to an instance of the `Adaptor` that
Sets the adapter `v`. Defaults to an instance of the `Adapter` that
ships with socket.io which is memory based (see below).
If no arguments are supplied this method returns the current value.
Expand Down Expand Up @@ -166,7 +166,7 @@ io.on('connection', function(){ // … });
A `Socket` is the fundamental class for interacting with browser
clients.
### Socket#rooms:Array
### Socket#joined:Array
A list of strings identifying the rooms this socket is in.
Expand All @@ -176,14 +176,14 @@ io.on('connection', function(){ // … });
connection. A `Client` can be associated with many multiplexed `Socket`
that belong to different `Namespace`s.
### Adaptor
### Adapter
The `Adaptor` is in charge of keeping track of what rooms each socket
The `Adapter` is in charge of keeping track of what rooms each socket
is connected to, and passing messages to them.
By default the `Adaptor` is memory based. In order to pass messages
across multiple processes, make sure to use an appropriate adaptor
(configurable through `Server#adaptor`).
By default the `Adapter` is memory based. In order to pass messages
across multiple processes, make sure to use an appropriate adapter.
(configurable through `Server#adapter`).
## License
Expand Down

0 comments on commit ab5a226

Please sign in to comment.