Documentation

Net

Namespace

Networking and sockets.

class Net::HttpRequest

Holds the state of an executing HTTP request.

class Net::Socket

A non-blocking TCP socket.

class Net::SecureSocket

Represents a TCP socket with a TLS encryption layer.

HttpRequest@ Net::HttpGet(const string&in url)

Creates an HTTP GET request to the given URL and automatically starts the request.

HttpRequest@ Net::HttpHead(const string&in url)

Creates an HTTP HEAD request to the given URL and automatically starts the request.

HttpRequest@ Net::HttpDelete(const string&in url)

Creates an HTTP DELETE request to the given URL and automatically starts the request.

string Net::UrlEncode(const string&in str)

URL encode a string.

Returns string
string Net::UrlDecode(const string&in str)

URL decode a string.

Returns string