You are not logged in.
in mormot.net.ws.client line 531:
'Sec-WebSocket-Protocol: ', aProtocol.GetSubprotocols
this header should be set by choice,
because some 3rd party ws server does not recognize this field,
it can cause connection problems
Offline
Sec-WebSocket-Protocol header is NOT a must have field in the ws standard
Offline
You are right.
We did not use the WebSockets client with third-party servers yet, to be honest.
Please try with
https://github.com/synopse/mORMot2/commit/b9d28124
Offline