Class CoapClientOptions
The settings a CoAP endpoint is built from.
public sealed class CoapClientOptions
- Inheritance
-
CoapClientOptions
- Inherited Members
Properties
AckTimeoutMs
Gets how long to wait for an acknowledgement, in milliseconds.
public uint AckTimeoutMs { get; init; }
Property Value
Bind
Gets the local address to bind, or null for the default.
public string? Bind { get; init; }
Property Value
Host
Gets the peer hostname or IP address.
public required string Host { get; init; }
Property Value
MaxRetransmits
Gets how many times to retransmit an unacknowledged request.
public uint MaxRetransmits { get; init; }
Property Value
Port
Gets the peer UDP port, conventionally 5683 for plaintext CoAP.
public required ushort Port { get; init; }
Property Value
Reliability
Gets whether requests are acknowledged and retried.
public Reliability Reliability { get; init; }