Module Apidir_server_bridge.Make

Parameters

Signature

include sig ... end
module IoStyle = IoStyle
module IoOps : sig ... end
val tdenv : Bindoj_base.tdenv
val invp_count : int
type handler =
  1. | Handler : ('reqty, 'respty) Bindoj_apidir_shared.invocation_point_info * ('reqty -> (int * 'respty) {io}1) -> handler
val handler_registry_post : (Bindoj_apidir_shared.invocation_point_key, handler) Kxclib.Hashtbl.t
include T with type 'resp io = 'resp IoStyle.t
type 'resp io = 'resp IoStyle.t
val register_get_handler : (unit, 'respty) Bindoj_apidir_shared.invocation_point_info -> (unit -> (int * 'respty) io) -> unit
val register_post_handler : ('reqty, 'respty) Bindoj_apidir_shared.invocation_point_info -> ('reqty -> (int * 'respty) io) -> unit
val handle_path_json_get : string -> TupleJsonResponse.t io
val handle_path_json_post : string -> Kxclib.Json.jv -> TupleJsonResponse.t io