Skip to content

Update ratchet document for session #41

@mbonneau

Description

@mbonneau

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions