ConnectionSettings
Api Code Documentation / Exports / service/RpcClient.h / ConnectionSettings
service/RpcClient.h.ConnectionSettings
Connection settings.
#
Table of contents#
Properties#
Properties#
host• Optional
Readonly
host: string
IP address or hostname of the node to connect to.
default
'localhost'
#
Defined in#
password• Readonly
password: string
Password to use for authentication.
#
Defined in#
port• Optional
Readonly
port: number
Port number of the node to connect to.
default
8570
#
Defined in#
protocol• Optional
Readonly
protocol: "http"
| "https"
Protocol to use for the connection.
default
'http'
#
Defined in#
username• Optional
Readonly
username: string
Username to use for authentication.
default
'multichainrpc'