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'