Skip to main content

Module transport

Module transport 

Source
Expand description

Plaintext + optional TLS byte transport.

Mirrors src/core/transport.h and src/core/transport.c.

The plaintext path is always available. The TLS path is feature-gated behind the “tls” feature (OpenSSL).

Structs§

TlsCtx
Server-side TLS context: holds the validated SSL acceptor shared across connections.
Transport
Transport wraps a connected socket fd and presents a single send/recv API.

Functions§

tls_available
Check if TLS support is available.