gobwas / ws

Tiny WebSocket library for Go.
MIT License
6.1k stars 373 forks source link

dialer: support custom Host header #188

Closed nekohasekai closed 8 months ago

nekohasekai commented 11 months ago

The existing dialer forces the use of url.Host as the Host header, it would be better if customization is allowed.

nekohasekai commented 11 months ago

Is this okay?

cristaloleg commented 8 months ago

Released in https://github.com/gobwas/ws/releases/tag/v1.3.2 Thanks!