Extensions API
Shared Types

Shared Types

Common types used across multiple API methods.


Side

Indicates which side of the connection an event was observed on. Used in TLS and HTTP/2 event types.

"client" | "server"

NamedU8 / NamedU16 / NamedU32

A numeric value paired with its human-readable name. Used for protocol constants like TLS versions, cipher suites, HTTP/2 error codes and frame flags. The only difference between the three types is the range of the value field.

{
  value: number;
  name: string;
}