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
$credentials
protected
ConnectionInterface
$credentials
$curl
protected
CurlHandle|resource
$curl
Methods
apiVersion()
public
apiVersion() : string|null
Return values
string|null —baseHeaders()
public
baseHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed> —baseUrl()
public
baseUrl() : string
Return values
string —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 = ''