Delegate MessageBrokerRemoteClientStreamDecorator
- Namespace
- LfrlAnvil.MessageBroker.Server
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents a callback which allows to decorate MessageBrokerRemoteClientConnector's network stream, which will also be used by a MessageBrokerRemoteClient.
Owner of thestream.NetworkStream to decorate.connector.public delegate ValueTask<Stream> MessageBrokerRemoteClientStreamDecorator(MessageBrokerRemoteClientConnector connector, NetworkStream stream)
Parameters
connectorMessageBrokerRemoteClientConnector- Represents a callback which allows to decorate 's network stream, which will also be used by a . Owner of the stream. to decorate.A which returns a stream, that will be used by the connector.
streamNetworkStream- Represents a callback which allows to decorate 's network stream, which will also be used by a . Owner of the stream. to decorate.A which returns a stream, that will be used by the connector.