WASIPreview3UnsupportedSocketsBackend class final

Backend that explicitly rejects network access.

Implemented types

Constructors

WASIPreview3UnsupportedSocketsBackend()
Creates an unsupported backend.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startTcpBind(WASIPreview3IpSocketAddress localAddress, {required BigInt backlog}) → WASIPreview3SocketOperation<WASIPreview3TcpBinding>
Reserves a TCP endpoint.
override
startTcpConnect({required WASIPreview3IpSocketAddress remoteAddress, WASIPreview3IpSocketAddress? localAddress, WASIPreview3TcpBinding? binding}) → WASIPreview3SocketOperation<WASIPreview3TcpConnection>
Connects a TCP endpoint, consuming binding when one is supplied.
override
startTcpListen({required WASIPreview3IpSocketAddress localAddress, required BigInt backlog, WASIPreview3TcpBinding? binding}) → WASIPreview3SocketOperation<WASIPreview3TcpListener>
Starts a TCP listener, consuming binding when one is supplied.
override
startUdpBind(WASIPreview3IpSocketAddress localAddress) → WASIPreview3SocketOperation<WASIPreview3UdpBinding>
Binds a UDP endpoint.
override
toString() → String
A string representation of this object.
inherited

Operators

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