Set an origin header in websocket and http clients (#455)

This commit is contained in:
bsergean
2023-04-01 12:19:38 -07:00
committed by GitHub
parent eb9a7bed76
commit dfa10df5ae
4 changed files with 15 additions and 1 deletions

View File

@ -140,7 +140,7 @@ namespace ix
_enablePerMessageDeflate);
result = webSocketHandshake.clientHandshake(
remoteUrl, headers, host, path, port, timeoutSecs);
remoteUrl, headers, protocol, host, path, port, timeoutSecs);
if (result.http_status >= 300 && result.http_status < 400)
{