TSHttpTxnIsWebsocket(3ts)

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.

  1. 10
  2. 11
  3. 12

From trafficserver-dev 9.2.5+ds-0+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.