Skip to content

Commit

Permalink
Merge pull request #32 from muqiuhan/feat.http.1
Browse files Browse the repository at this point in the history
feat(http): Add websocket related headers
  • Loading branch information
TheSpyder authored Jan 16, 2025
2 parents c198733 + 8fcbbd5 commit a8252a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Http.res
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ type headersObject = {
warning: option<string>,
@as("www-authenticate")
wwwAuthenticate: option<string>,
@as("sec-websocket-key")
secWebSocketKey: option<string>,
@as("sec-websocket-version")
secWebSocketVersion: option<string>,
}

module IncomingMessage = {
Expand Down

0 comments on commit a8252a2

Please sign in to comment.