WebTransportServerConfig class final
Configuration of a WebTransportServer.
Constructors
- WebTransportServerConfig()
- Creates an empty configuration; an identity and a bind address are needed before it can be used.
Properties
- allowMigration ↔ bool
-
Whether clients may migrate to a new address.
getter/setter pair
- bindAddress ↔ String?
-
Local address to bind;
nullbinds every interface (dual stack).getter/setter pair -
handle
→ Pointer<
wt_server_config_t> -
The native handle, for use with the raw bindings.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity ↔ WebTransportServerIdentity?
-
TLS identity to present to clients.
getter/setter pair
- idleTimeout ↔ Duration?
-
Idle timeout;
nullkeeps the library default.getter/setter pair - keepAlive ↔ Duration?
-
Keep-alive interval;
nulldisables it.getter/setter pair - port ↔ int
-
Local port;
0lets the OS pick one.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
certificateHashes(
) → List< WebTransportHash> - The SHA-256 digest of the identity's leaf certificate.
-
dispose(
) → void - Releases the configuration handle.
-
materialize(
) → Pointer< wt_server_config_t> - Applies the resolved settings to the native handle.
-
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