IPayloadSender Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |