Skip to content
Commit 549e5de2 authored by Matt Rodgers's avatar Matt Rodgers Committed by Benjamin Cabé
Browse files

net: websocket: pass HTTP upgrade request context to user callback



Passing HTTP upgrade request context to the user callback allows the
user to decide whether to accept or reject the websocket connection
based on the HTTP headers in the request. The primary reason for this is
to enable authentication of the websocket connection (e.g. via cookies
or Authorization header).

Signed-off-by: default avatarMatt Rodgers <mrodgers@witekio.com>
parent 91c10f14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment