A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Sec-WebSocket-Protocol Header

Table of Contents

About

The HTTP Sec-WebSocket-Protocol request and response header is used in the WebSocket opening handshake to negotiate a sub-protocol to use in the communication; this can be a well understood protocol, such as SOAP or WAMP, or a custom protocol understood by the client and server1.

Anki

References


  1. MDN. “Sec-WebSocket-Protocol header”. Available at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-WebSocket-Protocol. (Accessed: [2025-05-20 Tue 07:07]). ↩︎

Related Posts