Table of Contents

Interface IMessage

Namespace
NLightning.Domain.Protocol.Interfaces
Assembly
NLightning.Domain.dll

Interface for a message.

public interface IMessage

Properties

Extension

The extension of the message, if any.

TlvStream? Extension { get; }

Property Value

TlvStream

Payload

The payload of the message.

IMessagePayload Payload { get; }

Property Value

IMessagePayload

Type

The type of the message. MessageTypes.

MessageTypes Type { get; }

Property Value

MessageTypes