Skip to content

Question: Set headers for handshake #2074

@MijikHna

Description

@MijikHna

Is there an existing issue for this?

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

Description

I couldn't find in the documentation, how I can set headers for handshake in WebSocket client class. Could you please provide provide an example where you set headers in WebSocket class.

ws version

8.5.0

Node.js Version

18.8.0

System

No response

Expected result

No response

Actual result

No response

Attachments

No response

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