Documentation

BaseRPCService
in package
implements RPCInterface

Class BaseRPCService

Interfaces, Classes, Traits and Enums

RPCInterface
Class RPCInterface

Table of Contents

$credentials  : ConnectionInterface
$curl  : CurlHandle|resource
apiVersion()  : string|null
baseHeaders()  : array<string|int, mixed>
baseUrl()  : string
sendNodeRequest()  : array<string|int, mixed>

Properties

Methods

apiVersion()

public apiVersion() : string|null
Return values
string|null

baseHeaders()

public baseHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>

sendNodeRequest()

public sendNodeRequest([null $data = null ][, null $method = null ][, false $need_encode = true ][, false $is_put = false ][, mixed $functionName = '' ]) : array<string|int, mixed>
Parameters
$data : null = null
$method : null = null
$need_encode : false = true
$is_put : false = false
$functionName : mixed = ''
Tags
throws
JsonException
Return values
array<string|int, mixed>

Search results