Message
in package
AbstractYes
Base message
Table of Contents
Properties
- $jsonrpc : string
- A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".
Methods
- __toString() : string
- parse() : Message
- Returns the appropriate Message subclass
Properties
$jsonrpc
A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".
public
string
$jsonrpc
= '2.0'
Methods
__toString()
public
__toString() : string
Return values
stringparse()
Returns the appropriate Message subclass
public
static parse(string $msg) : Message
Parameters
- $msg : string