2 years ago

#72982

test-img

Nuvindu Nirmana

Does HTTP/2 support sending binary messages?

For an example, one can send binary data as either a Blob or an ArrayBuffer using WebSockets.

var file = document.querySelector('input[type="file"]').files[0];
connection.send(file);

Currently server sent events (SSE) don't have the binary messaging capability.
Can I know HTTP/2 protocol supports for sending binary messages? (References would be better)

http2

0 Answers

Your Answer

Accepted video resources