ligo/lib_rpc-base/RPC_service.mli

19 lines
909 B
OCaml
Raw Normal View History

2016-09-08 21:13:10 +04:00
(**************************************************************************)
(* *)
2017-11-14 03:36:14 +04:00
(* Copyright (c) 2014 - 2017. *)
2016-09-08 21:13:10 +04:00
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
2017-12-09 06:51:58 +04:00
type meth = [ `GET | `POST | `DELETE | `PUT | `PATCH ]
2016-09-08 21:13:10 +04:00
2017-12-09 06:51:58 +04:00
val string_of_meth: [< meth ] -> string
val meth_of_string: string -> [> meth ] option
val meth_encoding: meth Data_encoding.t
2016-09-08 21:13:10 +04:00
2017-12-09 06:51:58 +04:00
module MethMap = Resto.MethMap
2016-09-08 21:13:10 +04:00
2017-12-09 06:51:58 +04:00
include (module type of struct include Resto.MakeService(RPC_encoding) end)