2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
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)
|