This is default sub-protocol implemented using "JSONRPC 2.0" messages, every time you send a message using this protocol, a JSON object is created with the following properties:
jsonrpc: A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".
method: A String containing the name of the method to be invoked. Method names that begin with the word rpc followed by a period character (U+002E or ASCII 46) are reserved for rpc-internal methods and extensions and MUST NOT be used for anything else.
params: A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.
id: An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null [1] and Numbers SHOULD NOT contain fractional parts [2]
JSON object example:
{"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": 1}
Publish/subscribe message pattern to provide one-to-many message distribution and decoupling of applications. Supports Wildcard characters, so you can subscribe to a hierarchy of channels. Example: if you want to subscribe to all channels which start with 'news', then call Subscribe('news*').
TsgcWSPClient_sgc: Server Protocol Default VCL Component.
TsgcWSPClient_sgc: Client Protocol Default VCL Component.
Javascript Component: Client Javascript Reference.
If you want to test this protocol with your favourite Web Browser, please type this URL (you need to define your custom host and port)
http://host:port/esegece.com.html