Closed kvasilye closed 1 year ago
Hello,
Is there a way to add headers during the upgrade?
I need to be able to write an "etag" header so it's seen by the client as soon as the websocket connection is established.
Alternatively, it would work to set an extension header.
Hi, looks like you're interested in Header field in https://pkg.go.dev/github.com/gobwas/ws#Dialer
Header
Thank you, that worked.
Hello,
Is there a way to add headers during the upgrade?
I need to be able to write an "etag" header so it's seen by the client as soon as the websocket connection is established.
Alternatively, it would work to set an extension header.