JSON-RPC connection

Class Methods

The following methods can be invoked on instances of this class.

useSpec(string spec)

Sets the spec version to use for this connection

setTimeout(int timeout)

Changes timeout.

send(mixed request)

sendRequest(mixed method, array params)

Send a request directly

sendNotification(mixed method, array params)

Send a notification directly


Creates a native remote interface for the target server

factory(mixed target)

Constructs connection handler.