sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
This module is a helper to register your endpoints and build a resulting subdirectory eventually.
val register0 :
([< Resto.meth ], 'prefix, 'prefix, 'query, 'input, 'output)
Tezos_rpc.Service.t ->
(S.subcontext ->
'query ->
'input ->
'output Tezos_base.TzPervasives.tzresult Lwt.t) ->
unit
Register an endpoint with no parameters in the path.
val register1 :
([< Resto.meth ], 'prefix, 'prefix * 'param1, 'query, 'input, 'output)
Tezos_rpc.Service.t ->
(S.subcontext ->
'param1 ->
'query ->
'input ->
'output Tezos_base.TzPervasives.tzresult Lwt.t) ->
unit
Register an endpoint with a single parameter in the path.
val gen_register0 :
([< Resto.meth ], 'prefix, 'prefix, 'query, 'input, 'output)
Tezos_rpc.Service.t ->
(S.subcontext -> 'query -> 'input -> 'output Tezos_rpc.Answer.t Lwt.t) ->
unit
Register an endpoint that specifies how to process incoming queries and inputs; this function is intended for handling asynchronous contexts.
val build_sub_directory : S.context -> S.prefix Tezos_rpc.Directory.t
Build sub-directory with registered endpoints with respect to Node_context.