Skip to content

Websocket upgrade with custom Sec-Websocket-Protocol Header #90

@gagessele

Description

@gagessele

Hi! Today I was trying to implement the OCPP1.6J Protocol with mist.

One of the requirements of it is to send on the Upgrade Request the Sec-Websocket-Protocol Header with the Protocol version that the server accepts. Looking at the code on upgrade_socket, it seems that that there is no way to customizing this header.

Is there a recommended way to accomplish that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions