diff options
Diffstat (limited to 'app/lib/websockets.hoon')
| -rw-r--r-- | app/lib/websockets.hoon | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/lib/websockets.hoon b/app/lib/websockets.hoon index 9faea96..4d1f952 100644 --- a/app/lib/websockets.hoon +++ b/app/lib/websockets.hoon @@ -10,5 +10,8 @@ ++ accept-handshake |= wid=@ =/ response [%accept ~] (give-ws-payload wid response) + ++ refuse-handshake |= wid=@ + =/ response [%reject ~] + (give-ws-payload wid response) -- |
