Class TcpConsumer
TCP consumer. Embedded TCP server that accepts connections, reads framed messages,
and dispatches them into the route processor pipeline.
Supports configurable framing (Raw, TextLine, LengthPrefixed), TLS,
max connections, and InOut exchange patterns for synchronous response.
public sealed class TcpConsumer : IConsumer
Inheritance
Implements
Properties
Endpoint
The endpoint this consumer is attached to (for diagnostics/logging).
public IEndpoint Endpoint { get; }
LocalEndPoint
The local endpoint the server is listening on. Available after Start().
public IPEndPoint? LocalEndPoint { get; }
Methods
Constructors
TcpConsumer(TcpEndpoint, IProcessor, TcpEndpointOptions)
Creates a TCP consumer.