1c3t3a / rust-socketio

An implementation of a socket.io client written in the Rust programming language.
MIT License
419 stars 76 forks source link

Allow headers in ReconnectSettings #462

Open DanielChabrowski opened 1 month ago

DanielChabrowski commented 1 month ago

Hi!

ReconnectSettings currently allows modification of an address and authentication data however servers might also require different or refreshed headers like e.g if server requires bearer token as a header for authentication instead.

Would this project consider adding opening_headers it to the ReconnectSettings struct?

ctrlaltf24 commented 1 month ago

Seems reasonable, PRs are welcome!