Table of Contents

Struct PamojaMqttWill

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

A last-will message, mirroring PamojaMqttWill in pamoja.h.

public struct PamojaMqttWill
Inherited Members

Fields

Payload

Pointer to the payload bytes.

public nint Payload

Field Value

nint

PayloadLen

How many bytes Payload holds.

public nuint PayloadLen

Field Value

nuint

Qos

The quality of service it is published at.

public PamojaQos Qos

Field Value

PamojaQos

Retain

1 to have the broker retain it, 0 not to.

public byte Retain

Field Value

byte

Topic

Pointer to the UTF-8 topic the broker publishes it to.

public nint Topic

Field Value

nint