Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions HttpClient.connect

1
2
3
4
5
6
module juptune.http.client;

Result connect(
    IpAddress ip, 
    const const char[] host = null
);

Documentation

Connects this client to the given IP address.

Assertions

The client must not already be connected.

Params

Throws

Anything that TcpSocket.connectcan throw.

Returns

A Resultindicating whether the connection was successful or not.