Table of Contents

Interface IMessagePayload

Namespace
NLightning.Bolts.Interfaces
Assembly
NLightning.Bolts.dll

Interface for a message payload.

public interface IMessagePayload

Methods

SerializeAsync(Stream)

Serializes the message payload to a stream.

Task SerializeAsync(Stream stream)

Parameters

stream Stream

The stream to serialize to.

Returns

Task

A task that represents the asynchronous operation.