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 #41

Open
mbonneau opened this issue Dec 13, 2018 · 1 comment
Open

Update ratchet document for session #41

mbonneau opened this issue Dec 13, 2018 · 1 comment

Comments

@mbonneau
Copy link
Member

This was copied over from ratchetphp/Ratchet#703 (originally reported by @mshamaseen)

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 ..

@hayden-t
Copy link
Contributor

maybe suggest a pull request

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