diff options
author | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2020-10-03 13:19:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 07:19:11 +1100 |
commit | d0eb179132c60a7c2513c9d19db03e3d5ca00c70 (patch) | |
tree | 627339e0dc2212ed861184d46b6af31605224d24 /std/ws | |
parent | 391eed42f41bd277fff936192b474bfd52eaa1a0 (diff) |
docs: end sentences with a period in markdown (#7813)
Diffstat (limited to 'std/ws')
-rw-r--r-- | std/ws/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/std/ws/README.md b/std/ws/README.md index 54efc57cc..329116a22 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -21,18 +21,18 @@ async function handleWs(sock: WebSocket) { try { for await (const ev of sock) { if (typeof ev === "string") { - // text message + // text message. console.log("ws:Text", ev); await sock.send(ev); } else if (ev instanceof Uint8Array) { - // binary message + // binary message. console.log("ws:Binary", ev); } else if (isWebSocketPingEvent(ev)) { const [, body] = ev; - // ping + // ping. console.log("ws:Ping", body); } else if (isWebSocketCloseEvent(ev)) { - // close + // close. const { code, reason } = ev; console.log("ws:Close", code, reason); } @@ -99,7 +99,7 @@ Create mask from the client to the server with random 32bit number. ### acceptable -Returns true if input headers are usable for WebSocket, otherwise false +Returns true if input headers are usable for WebSocket, otherwise false. ### createSecAccept |