Skip to content
CShift0.45

System.Net

HTTP and HTTPS requests: Http.Send sends an HttpRequest and waits for the HttpResponse. Windows (WinHTTP), Linux (libcurl, loaded when the first request is sent: libcurl4, present on most systems); on WebAssembly, AmigaOS and macOS every request is HttpError.NotSupported for now.

Network connections over TCP (IPv4): TcpListener waits for the connections of clients, TcpConnection connects to a server; both send and receive bytes. Windows, Linux and macOS; on WebAssembly and AmigaOS every attempt is NetError.NotSupported.

Type Description
HttpRequest A request: the method, the URL, the headers and the body.
HttpResponse The answer of a server: its status, headers and body.
HttpUrl The parts of an http or https URL (Http.ParseUrl).
Http Sends HTTP requests.
TcpListener A TCP server: listens on a port and accepts the connections of clients, each a TcpConnection.
TcpConnection A TCP connection: bytes in both directions, to a server (TcpConnection.Connect) or from a client (TcpListener.Accept).
HttpError The errors of HTTP requests (Http.Send).
NetError The errors of network connections (TcpListener, TcpConnection).