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