Skip to content

Commit a8252a2

Browse files
authored
Merge pull request #32 from muqiuhan/feat.http.1
feat(http): Add websocket related headers
2 parents c198733 + 8fcbbd5 commit a8252a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Http.res

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ type headersObject = {
8787
warning: option<string>,
8888
@as("www-authenticate")
8989
wwwAuthenticate: option<string>,
90+
@as("sec-websocket-key")
91+
secWebSocketKey: option<string>,
92+
@as("sec-websocket-version")
93+
secWebSocketVersion: option<string>,
9094
}
9195

9296
module IncomingMessage = {

0 commit comments

Comments
 (0)