DOKK / manpages / debian 12 / trafficserver-dev / TSHttpTxnIsWebsocket.3ts.en
TSHTTPTXNISWEBSOCKET(3ts) Apache Traffic Server TSHTTPTXNISWEBSOCKET(3ts)

TSHttpTxnIsWebsocket - test whether a request is attempting to initiate Websocket connection

#include <ts/ts.h>



TSHttpTxnIsWebsocket() tests whether the transaction is a WebSocket upgrade request.

A non-zero value is returned if the relevant header value is found.

TSAPI(3ts)

2023, dev@trafficserver.apache.org

November 2, 2023 9.2