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.connectTls

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

Result connectTls(
    IpAddress ip, 
    const const char[] host
);

Documentation

Connects this client to the given IP address over TLS.

Assertions

The client must not already be connected.

hostmust not be null or empty.

Notes

Currently, most TLS settings (buffer size; certificate store) are handled automatically.

Params

Throws

Anything that TlsTcpSocket.connectcan throw.

Returns

A Resultindicating whether the connection was successful or not.