Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Tezos_rpc.Context
Source'o
is the type of the result (output) and 'e
the type of the error
type generic_call_result = [
| `Json of (Data_encoding.json, Data_encoding.json option) rest
| `Binary of (string, string option) rest
| `Other of (string * string) option * (string, string option) rest
]
The type of a generic call result
val make_call :
([< Resto.meth ],
unit,
'p,
'q,
'i,
'o,
Tezos_error_monad.Error_monad.error list)
Resto.MakeService(Tezos_rpc__.RPC_encoding).t ->
simple ->
'p ->
'q ->
'i ->
'o Tezos_error_monad.Error_monad.tzresult Lwt.t
val make_call1 :
([< Resto.meth ],
unit,
unit * 'a,
'q,
'i,
'o,
Tezos_error_monad.Error_monad.error list)
Resto.MakeService(Tezos_rpc__.RPC_encoding).t ->
simple ->
'a ->
'q ->
'i ->
'o Tezos_error_monad.Error_monad.tzresult Lwt.t
val make_call2 :
([< Resto.meth ],
unit,
(unit * 'a) * 'b,
'q,
'i,
'o,
Tezos_error_monad.Error_monad.error list)
Resto.MakeService(Tezos_rpc__.RPC_encoding).t ->
simple ->
'a ->
'b ->
'q ->
'i ->
'o Tezos_error_monad.Error_monad.tzresult Lwt.t
val make_call3 :
([< Resto.meth ],
unit,
((unit * 'a) * 'b) * 'c,
'q,
'i,
'o,
Tezos_error_monad.Error_monad.error list)
Resto.MakeService(Tezos_rpc__.RPC_encoding).t ->
simple ->
'a ->
'b ->
'c ->
'q ->
'i ->
'o Tezos_error_monad.Error_monad.tzresult Lwt.t
val make_streamed_call :
([< Resto.meth ],
unit,
'p,
'q,
'i,
'o,
Tezos_error_monad.Error_monad.error list)
Resto.MakeService(Tezos_rpc__.RPC_encoding).t ->
streamed ->
'p ->
'q ->
'i ->
('o Lwt_stream.t * stopper) Tezos_error_monad.Error_monad.tzresult Lwt.t