Provided by: trafficserver-dev_9.2.3+ds-1+deb12u1build4_amd64
NAME
TSHttpTxnIsWebsocket - test whether a request is attempting to initiate Websocket connection
SYNOPSIS
#include <ts/ts.h> int TSHttpTxnIsWebsocket(TSHttpTxn txnp)
DESCRIPTION
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.
SEE ALSO
TSAPI(3ts)
COPYRIGHT
2024, dev@trafficserver.apache.org