WASIPreview2SocketsHost class base
WASI 0.2 wasi:sockets host imports.
- Implementers
Constructors
- WASIPreview2SocketsHost({WASIComponentResourceTable? table, WASIPreview2PollHost? pollHost, WASIPreview2StreamsHost? streamsHost, WASIPreview2AddressResolver? resolveAddresses, WASIPreview2SocketsBackend? backend})
-
Creates a sockets host backed by
tableorpollHost.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imports
→ Map<
String, WASIComponentWitAdapterCallback> -
Standard
wasi:sockets@0.2.0import callbacks.latefinal - pollHost → WASIPreview2PollHost
-
Poll host used by sockets
subscribeoperations.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamsHost → WASIPreview2StreamsHost
-
Streams host used by connected TCP streams.
final
- table → WASIComponentResourceTable
-
Component resource table that owns sockets resources.
final
Methods
-
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