Skip to content

SocketCapabilities

1 min read

Import: import system.net;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

SocketCapabilities

Availability of raw sockets independently of the host's HTTP support.

public static class SocketCapabilities

supported

True on native and Node; browsers return EUNSUPPORTED for raw socket requests.

public static get supported(): bool