From d0eb179132c60a7c2513c9d19db03e3d5ca00c70 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Sat, 3 Oct 2020 13:19:11 -0700 Subject: docs: end sentences with a period in markdown (#7813) --- std/ws/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'std/ws/README.md') 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 -- cgit v1.2.3