trait Protocol (View source)

Properties

static protected array $supported_protocols Supported RPC protocols

Methods

setProtocol(string $protocol)

Set RPC protocol

string
getProtocol()

Get RPC protocol

Details

Protocol setProtocol(string $protocol)

Set RPC protocol

Parameters

string $protocol RPC protocol

Return Value

Protocol

Exceptions

Exception

string getProtocol()

Get RPC protocol

Return Value

string