TSHttpTxnIsWebsocket3ts
Test whether a request is attempting to initiate websocket connection
Usage
#include <ts/ts.h>
- int TSHttpTxnIsWebsocket(TSHttpTxn txnp)
Overview
TSHttpTxnIsWebsocket() tests whether the transaction is a WebSocket upgrade request.
Return values
A non-zero value is returned if the relevant header value is found.
Releases
3 releases since Debian 10 (Buster); the text changed 2 times.