Skip to content

Commit

Permalink
Add autoConnect documentation to the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
johno committed Sep 20, 2014
1 parent 4da8575 commit d1afc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ window.App = Ember.Application.create({
});
```

In the above configuration, we'll be attempting to connect to `localhost` on port `8888`. Only three controllers will be able to respond to WebSocket events: `CatsController`, `DogsController`, and the `RabbitsController`.
In the above configuration, we'll be attempting to connect to `localhost` on port `8888`. Only three controllers will be able to respond to WebSocket events: `CatsController`, `DogsController`, and the `RabbitsController`. If you'd like the connection to occur automatically, you can set `autoConnect: true`.

To begin responding to events, you need to create a map of events to their properties. When the event is invoked the property will be updated with the response.

Expand Down

0 comments on commit d1afc5d

Please sign in to comment.