19 lines
909 B
OCaml
19 lines
909 B
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2018. *)
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
(* *)
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
type meth = [ `GET | `POST | `DELETE | `PUT | `PATCH ]
|
|
|
|
val string_of_meth: [< meth ] -> string
|
|
val meth_of_string: string -> [> meth ] option
|
|
val meth_encoding: meth Data_encoding.t
|
|
|
|
module MethMap = Resto.MethMap
|
|
|
|
include (module type of struct include Resto.MakeService(RPC_encoding) end)
|