(wsKey: string)
| 222 | } |
| 223 | |
| 224 | export function computeAcceptKey(wsKey: string): string { |
| 225 | return createHash("sha1") |
| 226 | .update(wsKey + WS_GUID) |
| 227 | .digest("base64"); |
| 228 | } |
| 229 | |
| 230 | export function upgradeToWebSocket( |
| 231 | req: http.IncomingMessage, |
no outgoing calls
no test coverage detected
searching dependent graphs…