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
+3 -1
View File
@@ -25,7 +25,9 @@ export interface HTTP extends TransportBasics {
export interface WebSocket extends TransportBasics {
path: string
headers?: {}
headers?: {
Host: string
}
max_early_data?: number
early_data_header_name?: string
}