Skip to content

Accessing request object #1377

@fabiosantoscode

Description

@fabiosantoscode
  • I've searched for any related issues and avoided creating a duplicate issue.

Description

I'm developing a websocket-based API, and I'd like to communicate some parameters out-of-band using the socket URL. To do this, I need to be given the request object, or just the URL.

Expected result:

wss.on('connection', ws => assert(ws.request))
// or
wss.on('connection', ws => assert(ws.url))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions