1
0
mirror of https://git.kore.io/kore.git synced 2024-11-06 02:21:58 +01:00
kore/examples/jsonrpc/conf
Raphaël Monrouzeau db02e990ea JSON-RPC support for Kore.
The API surface is very limited. Jsonrpc support reads request from HTTP
body and such can't be activated if NOHTTP=1. At the moment there is no
websocket support either (which is a shame). It depends upon the
third-party Yajl library.

Errors can be emitted using jsonrpc_error() and results using
jsonrpc_result(), for the later you'll have to provide a callback which
will write the inner of the result object.

If errors happen during the response write process, no further error
output will be attempted and an HTTP error 500 will be returned.

Read the provided example for getting a better idea of the API.
2016-07-15 13:08:08 +02:00
..
build.conf JSON-RPC support for Kore. 2016-07-15 13:08:08 +02:00
jsonrpc.conf JSON-RPC support for Kore. 2016-07-15 13:08:08 +02:00