Open lifeengines opened 6 months ago
some websocket protocol has extra handshake headers,we need deal with append some extra response http headers in PerformServerUpgrade stage,but currentlly netcoreserver don't has a mechanism to do this,so we can adjust SetBody in PerformServerUpgrade to after OnWsConnecting so can be made possible append extra http header in OnWsConnecting event.
made response header ended up before OnWsConnecting so we can append extra handshake header to response