philippseith / signalr

SignalR server and client in go
MIT License
131 stars 39 forks source link

Use negotiateVersion from query parameter if present #187

Closed dillondrobena closed 8 months ago

dillondrobena commented 9 months ago

In reference to issue #186

In the POST request the client sends a query string parameter with the key "negotiateVersion" and the value as the negotiate protocol version it would like to use.

Adding support to read from query parameter as well as header for negotiate version. Will use whichever one isn't version 0 if any.