ligo/vendors/ocplib-resto
Grégoire Henry 33a7ca51c3
Client: Use Host in HTTP requests
and add proper error message when the node refuses connection for
unallowed origin (CORS).
2019-02-26 12:00:37 +01:00
..
2018-07-24 19:15:04 +02:00

ocplib-resto (WIP)

This is a minimal OCaml library for type-safe HTTP/JSON RPCs.

This is based on a notion of service, à la Eliom, and it uses ocplib-json-typed for self-documenting JSON encoders.

See test_ezresto-directory/ezResto_test.ml or test_resto-directory/resto_test.ml for example.`