Config class

A Zenoh configuration.

Wraps z_owned_config_t. Use the default constructor for default configuration, then call insertJson5 to customise settings.

Must be disposed when no longer needed to release native memory. If passed to Session.open, the config is consumed and must not be reused or disposed by the caller.

Constructors

Config()
Creates a default Zenoh configuration.

Properties

hashCode int
The hash code for this object.
no setterinherited
nativePtr Pointer<Void>
Internal: returns the native pointer for use by Session.open.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases native resources held by this configuration.
insertJson5(String key, String value) → void
Inserts a JSON5 value at the given configuration key path.
markConsumed() → void
Internal: called by Session.open after consuming the config.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited