felangel / web_socket_client

A simple WebSocket client for Dart which includes automatic reconnection logic.
https://pub.dev/packages/web_socket_client
MIT License
150 stars 32 forks source link

feat: Allow adding headers #25

Closed jtdLab closed 7 months ago

jtdLab commented 1 year ago

Allow passing http headers to initial request.

felangel commented 1 year ago

Afaik this isn't possible on web, see https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api.