Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
YAAAAS, RCP YAAAAAS!
Browse files Browse the repository at this point in the history
  • Loading branch information
CupOfTea696 committed Apr 19, 2015
1 parent e0da0d5 commit 79f49e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ TwoStream is Laravel 5 only.
- ServiceProvider and Facades, add `'CupOfTea\TwoStream\TwoStreamServiceProvider',` to your providers, and `'TwoStream' => 'CupOfTea\TwoStream\Facades\TwoStream',` and `'WsRoute' => 'CupOfTea\TwoStream\Facades\WsRoute',` to your aliases in `config/app.php`
- Installation command; run `twostream:install` before trying to use anything. (seriously!)
- WebSocket Server, boot with `twostream:listen`.
- Routing, use `WsRoute::call`, `WsRoute::publish`, `WsRoute::subscribe` or `WsRoute::unsubscribe` to define WebSocket routes in `app/Ws/routes.php`. (partially complete)
- Routing, use `WsRoute::call`, `WsRoute::publish`, `WsRoute::subscribe` or `WsRoute::unsubscribe` to define WebSocket routes in `app/Ws/routes.php`. (`WsRoute::controller` coming soon)
- Read-only Session data available in Ws Controllers via the WsSession Facade, add `'WsSession' => 'CupOfTea\TwoStream\Facades\WsSession',` to your aliases in `config/app.php`
- Send response to all subscribers, all excluding requestee or requestee.

## TODO:
- Map WsRoute::controller to correct functions, allow missing functions.
- Handle calls to unmapped routes properly. ~~(currently responds with HTTP 404 HTML I believe)~~
- Middleware for connections. (or something similar) [@beta]
- ~~Make more data available in Controllers. (e.g. Connection and other Ws data, better Request object.)~~
- Push events from server to all or specific user. (to sessionId = ✖, to user ✖) (zmq)
Expand Down

0 comments on commit 79f49e4

Please sign in to comment.