Documentation

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
string

parse()

Returns the appropriate Message subclass

public static parse(string $msg) : Message
Parameters
$msg : string
Return values
Message

        
On this page

Search results