1
0

add websocket support

This commit is contained in:
Connor McKelvey
2022-02-18 20:33:01 -07:00
parent 2437f82e94
commit ebabaf5362
3 changed files with 19 additions and 7 deletions

4
index.d.ts vendored
View File

@@ -302,6 +302,10 @@ type RouterResponse = {
body: {
[key: string]: string
} | string
/**
* Upgraded websocket connection
*/
webSocket?: WebSocket
}
/**
* Next Function