Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type (+'a, 'prefix, 'params, 'query, 'input, 'output, 'error) service =
('a, 'prefix, 'params, 'query, 'input, 'output, 'error) t constraint 'a = [< Resto.meth ]
val meth :
([< Resto.meth ] as 'a, 'prefix, 'params, 'query, 'input, 'output, 'error)
service ->
'a
val query :
([< Resto.meth ], 'prefix, 'params, 'query, 'input, 'output, 'error) service ->
'query Resto.Query.t
type !'a input = 'a Resto.MakeService(Tezos_rpc.RPC_encoding).input =
| No_input : unit input
| Input : 'input RPC_encoding.t -> 'input input
val output_encoding :
([< Resto.meth ], 'prefix, 'params, 'query, 'input, 'output, 'error) service ->
'output RPC_encoding.t
val error_encoding :
([< Resto.meth ], 'prefix, 'params, 'query, 'input, 'output, 'error) service ->
'error RPC_encoding.t
val get_service :
?description:string ->
query:'query Resto.Query.t ->
output:'output RPC_encoding.t ->
error:'error RPC_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `GET ], 'prefix, 'params, 'query, unit, 'output, 'error) service
val post_service :
?description:string ->
query:'query Resto.Query.t ->
input:'input RPC_encoding.t ->
output:'output RPC_encoding.t ->
error:'error RPC_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `POST ], 'prefix, 'params, 'query, 'input, 'output, 'error) service
val delete_service :
?description:string ->
query:'query Resto.Query.t ->
output:'output RPC_encoding.t ->
error:'error RPC_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `DELETE ], 'prefix, 'params, 'query, unit, 'output, 'error) service
val patch_service :
?description:string ->
query:'query Resto.Query.t ->
input:'input RPC_encoding.t ->
output:'output RPC_encoding.t ->
error:'error RPC_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `PATCH ], 'prefix, 'params, 'query, 'input, 'output, 'error) service
val put_service :
?description:string ->
query:'query Resto.Query.t ->
input:'input RPC_encoding.t ->
output:'output RPC_encoding.t ->
error:'error RPC_encoding.t ->
('prefix, 'params) Resto.Path.t ->
([ `PUT ], 'prefix, 'params, 'query, 'input, 'output, 'error) service
type ('prefix, 'params, 'error) description_service =
([ `GET ],
'prefix,
'params * string list,
Resto.Description.request,
unit,
RPC_encoding.schema Resto.Description.directory,
'error)
service
val description_service :
?description:string ->
'error RPC_encoding.t ->
('prefix, 'params) Resto.Path.t ->
('prefix, 'params, 'error) description_service
type !'input request = 'input Resto.MakeService(Tezos_rpc.RPC_encoding).request =
{
meth : Resto.meth;
uri : Uri.t;
input : 'input input;
}
module Internal : sig ... end