mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
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.
8 lines
49 B
Plaintext
Executable File
8 lines
49 B
Plaintext
Executable File
*.o
|
|
.objs
|
|
jsonrpc.so
|
|
assets.h
|
|
cert
|
|
.*.swp
|
|
.*.swo
|