Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ratchet document for session #703

Closed
mshamaseen opened this issue Nov 23, 2018 · 1 comment
Closed

Update ratchet document for session #703

mshamaseen opened this issue Nov 23, 2018 · 1 comment

Comments

@mshamaseen
Copy link

In ratchet document for http://socketo.me/docs/sessions#wrapped it says wrapped by WsServer, whereas it's actually Wrap the WsServer not wrapped by it.

the wraps should be like this:

IoServer::factory( new HttpServer( new SessionProvider( new WsServer( new Chat() ), new Handler\MemcachedSessionHandler($memcached) ) ), 6502 );

please update the document as it take me a hole week to figure this out ..

@mbonneau
Copy link
Member

Moved to socketo.me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants