Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val string_of_meth : [< meth ] -> string
val meth_of_string : string -> [> meth ] option
val meth_encoding : meth Data_encoding.t
type (+'m, 'pr, 'p, 'q, 'i, 'o, 'e) raw =
('m, 'pr, 'p, 'q, 'i, 'o, 'e) Resto.MakeService(Tezos_rpc__.RPC_encoding).t constraint 'meth = [< meth ]
type error = Tezos_error_monad.Error_monad.error list
val meth :
([< Resto.meth ] as 'a, 'prefix, 'params, 'query, 'input, 'output, 'error)
raw ->
'a
val query :
([< Resto.meth ], 'prefix, 'params, 'query, 'input, 'output, 'error) raw ->
'query Resto.Query.t
type !'a input = 'a Resto.MakeService(Tezos_rpc__.RPC_encoding).input =
| No_input : unit input
| Input : 'input Data_encoding.t -> 'input input
val output_encoding :
([< Resto.meth ], 'prefix, 'params, 'query, 'input, 'output, 'error) raw ->
'output Data_encoding.t
type ('prefix, 'params, 'error) description_service =
([ `GET ],
'prefix,
'params * string list,
Resto.Description.request,
unit,
(Data_encoding.json_schema * Data_encoding.Binary_schema.t)
Resto.Description.directory,
'error)
raw
type !'input request =
'input Resto.MakeService(Tezos_rpc__.RPC_encoding).request =
{
meth : Resto.meth;
uri : Uri.t;
input : 'input input;
}
module Internal : sig ... end
val get_service :
?description:string ->
query:'query Resto.Query.t ->
output:'output Data_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `GET ], 'prefix, 'params, 'query, unit, 'output) service
val post_service :
?description:string ->
query:'query Resto.Query.t ->
input:'input Data_encoding.t ->
output:'output Data_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `POST ], 'prefix, 'params, 'query, 'input, 'output) service
val delete_service :
?description:string ->
query:'query Resto.Query.t ->
output:'output Data_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `DELETE ], 'prefix, 'params, 'query, unit, 'output) service
val patch_service :
?description:string ->
query:'query Resto.Query.t ->
input:'input Data_encoding.t ->
output:'output Data_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `PATCH ], 'prefix, 'params, 'query, 'input, 'output) service
val put_service :
?description:string ->
query:'query Resto.Query.t ->
input:'input Data_encoding.t ->
output:'output Data_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `PUT ], 'prefix, 'params, 'query, 'input, 'output) service