Skip to content

Commit 4194868

Browse files
sapaminViolet-Bora-Lee
authored andcommitted
[웹소켓] line 180 번역 (#1156)
1 parent 6867458 commit 4194868

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
@@ -177,7 +177,7 @@ A call `socket.send(body)` allows `body` in string or a binary format, including
177177
178178
**When we receive the data, text always comes as string. And for binary data, we can choose between `Blob` and `ArrayBuffer` formats.**
179179
180-
That's set by `socket.binaryType` property, it's `"blob"` by default, so binary data comes as `Blob` objects.
180+
`socket.binaryType` 프로퍼티를 사용하면 `Blob`이나 `ArrayBuffer` 포맷 둘 중 하나를 고를 수 있는데, 프로퍼티 기본값은 `"blob"`이라서 이진 데이터는 기본적으로 `Blob` 객체 형태로 전송받게 됩니다.
181181
182182
[Blob](info:blob) is a high-level binary object, it directly integrates with `<a>`, `<img>` and other tags, so that's a sane default. But for binary processing, to access individual data bytes, we can change it to `"arraybuffer"`:
183183

0 commit comments

Comments
 (0)