IPayloadSender Interface

Definition

Each PayloadSender manages writing raw data to an outgoing ITransportSender.

public interface IPayloadSender
type IPayloadSender = interface
Public Interface IPayloadSender
Derived

Properties

IsConnected

Gets a value indicating whether the PayloadSender is currently connected to an ITransportSender.

Methods

Connect(ITransportSender)

Connects the PayloadSender to the passed in ITransportSender.

Disconnect(DisconnectedEventArgs)

Disconnects the PayloadSender from its ITransportSender.

SendPayload(Header, Stream, Boolean, Func<Header,Task>)

Begins the process of writing the given payload to the outgoing Stream and sets the callback to trigger when complete.

Events

Disconnected

Emitted when the PayloadSender becomes disconneced from the ITransportSender.

Applies to