Sec-WebSocket-Key Header

Table of Contents

About

The HTTP Sec-WebSocket-Key request header is used in the WebSocket opening handshake to allow a client (user agent ) to confirm that it “really wants” to request that an HTTP client is upgraded to become a WebSocket1.

Anki

References


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

Random Posts