From a1f58386cd74b8a711f99b557d69558b1059f873 Mon Sep 17 00:00:00 2001 From: Sven Wittevrongel Date: Sat, 18 Apr 2015 22:49:13 +0100 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c23bf4f..819f1eb 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,13 @@ TwoStream is Laravel 5 only. - 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) + - 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` ## 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. - - Make more data available in Controllers. (e.g. read-only Session data) + - Middleware for connections. (or something like that) + - 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. ### Acknowledgements