Skip to content

Commit 6a305dc

Browse files
[웹소켓] 번역 - line255 (#1606)
1 parent a9ddd31 commit 6a305dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/11-websocket/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ The full list can be found in [RFC6455, §7.4.1](https://tools.ietf.org/html/rfc
252252
웹소켓 코드는 언뜻 보기엔 HTTP 코드 같아 보이지만 실제론 다릅니다. 특히 `1000`보다 작은 값은 예약 값이여서 작은 숫자를 설정하려 하면 에러가 발생합니다.
253253

254254
```js
255-
// in case connection is broken
255+
// 사례: 커넥현 유실
256256
socket.onclose = event => {
257257
// event.code === 1006
258258
// event.reason === ""

0 commit comments

Comments
 (0)