Skip to content

autoreconnect with --preamble #304

Description

@safonovi

Hi, vi!
Thanks for the websocat.
For connection to the websocket, I use the following line:

websocat -t - autoreconnect:wss://ws_server/state/ --preamble '{"type": "auth", "data": "tocken"}'

The first connection is successful, but subsequent reconnections (after connection is lost) are rejected by the server, as if I didn't provide authentication data.

websocat -V
websocat 1.14.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions