Skip to content

Commit d9a7cf1

Browse files
ckyeonViolet-Bora-Lee
authored andcommitted
#883 [웹소켓] 번역 - line 94
1 parent 1cbaef5 commit d9a7cf1

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
@@ -91,7 +91,7 @@ Sec-WebSocket-Version: 13
9191
- `Origin` -- 클라이언트 오리진(예시에선 `https://javascript.info`)을 나타냅니다. 서버는 `Origin` 헤더를 보고 어떤 웹사이트와 소켓통신을 할지 결정하기 때문에 Origin 헤더는 웹소켓 통신에 중요한 역할을 합니다. 참고로 웹소켓 객체는 기본적으로 크로스 오리진(cross-origin) 요청을 지원합니다. 웹소켓 통신만을 위한 전용 헤더나 제약도 없습니다. 오래된 서버는 웹소켓 통신을 지원하지 못하기 때문에 웹소켓 통신은 호환성 문제도 없습니다.
9292
- `Connection: Upgrade` -- signals that the client would like to change the protocol.
9393
- `Upgrade: websocket` -- 클라이언트측에서 요청한 프로토콜은 'websocket'이라는걸 의미합니다.
94-
- `Sec-WebSocket-Key` -- a random browser-generated key for security.
94+
- `Sec-WebSocket-Key` -- 보안을 위해 브라우저에서 생성한 키를 나타냅니다.
9595
- `Sec-WebSocket-Version` -- 웹소켓 프로토콜 버전이 명시됩니다. 예시에서 버전은 13입니다.
9696

9797
```smart header="웹소켓 핸드셰이크는 모방이 불가능합니다."

0 commit comments

Comments
 (0)