Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTsnipTLSServer.AlpnToken

property AlpnToken: string read fAlpnToken write SetAlpnToken;
The ALPN protocol identifier advertised and matched for snip (default 'snip'). Change it only in step with the client's SnipAlpnToken; a mismatch means the async server never routes the connection here.

SETTABLE ONLY UNTIL THE APPLICATION PROTOCOL IS ASSOCIATED. AppProtocol mints one adapter that reads this field LIVE, so once that adapter has been handed to a registry - by assigning Server, or by a Protocols.AddProtocol call this component never sees - the token IS a live registry key, read per connection on reactor threads. Assigning it after that raises ETLSAsyncServer rather than silently re-routing traffic. Set it at design time, or in code before Server. Assigning the value it already holds is always allowed; '' means the default.