Destructor, destroys the internal session parameters.
Numeric IP address of host to connect to. This should be in the standard IPv4 address format. You can also use IPv6 if your machine supports it. Either one of host or address parameters must be specified.
DNS resolvable name of host to connect to. Either one of host or address parameters must be specified (defaults to localhost).
Password to be used if the server demands password authentication.
Port number to connect to at the server host (defaults to 7687).
This parameter specifies the file name of the client SSL certificate. It is ignored in case an SSL connection is not made.
This parameter specifies the location of the secret key used for the client certificate. This parameter is ignored in case an SSL connection is not made.
This option determines whether a secure connection will be negotiated with the server. There are 2 possible values: - MG_SSLMODE_DISABLE Only try a non-SSL connection (default). - MG_SSLMODE_REQUIRE Only try an SSL connection.
A pointer to a function of prototype mg_trust_callback_type: int trust_callback(const char *hostname, const char *ip_address, const char *key_type, const char *fingerprint, void *trust_data);
Additional data that will be provided to the sslTrustCallback function.
Useragent used when connecting to memgraph, defaults to Alternate name and version of the client to send to server. Default is "memgraph-d/major.minor.patch".
Username, if authentication is required.
An object containing connection parameters for Client.connect(Params).