Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmStreamSecII.TLSAddServerSession

function TLSAddServerSession(UserData: Pointer = nil): TCustomTLS_ContentLayer;
Create and register a new server-role TLS session pre-configured from this component's TLSOptions, certificates and ALPN, tagged with UserData so later bytes can be routed to it. Usually created implicitly by TLSAccept; call directly only for advanced per-session setup (e.g. via OnTLSAddContentLayer).