Skip to content

Add sub-protocol support #130

@rstoyanchev

Description

@rstoyanchev

As a WebSocket emulation layer, it makes sense to support sub-protocols in SockJS. The sockjs-client could have a "protocols" option added with the value passed to the server either through the W3C WebSocket constructor or by setting the Sec-WebSocket-Protocol header.

Servers can then choose to add support by checking the Sec-WebSocket-Protocol header.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions