Skip to main content

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#

src/service/RpcClient.h.ts:18


password#

Readonly password: string

Password to use for authentication.

Defined in#

src/service/RpcClient.h.ts:35


port#

Optional Readonly port: number

Port number of the node to connect to.

default 8570

Defined in#

src/service/RpcClient.h.ts:24


protocol#

Optional Readonly protocol: "http" | "https"

Protocol to use for the connection.

default 'http'

Defined in#

src/service/RpcClient.h.ts:12


username#

Optional Readonly username: string

Username to use for authentication.

default 'multichainrpc'

Defined in#

src/service/RpcClient.h.ts:30