add ws headers host

This commit is contained in:
Alireza Ahmadi
2024-02-26 21:59:34 +01:00
parent 233c27be23
commit 840b7ba1b1
3 changed files with 21 additions and 3 deletions
+1
View File
@@ -150,6 +150,7 @@ export namespace LinkUtil {
case TrspTypes.WebSocket:
const tw = <WebSocket>t
params.path = tw.path?? null
params.host = tw.headers?.Host?? null
break
case TrspTypes.gRPC:
const tg = <gRPC>t