Madge_server.Make_endpointsmodule Internal : sig ... endtype ('a, 'w, 'r) t = ('a, 'w, 'r) Internal.tThe type of internal endpoints. Some other endpoints (batching, metrics) will be added automatically.
val route_internal : ('a, 'w, 'r) t -> ('a, 'w, 'r) Madge.Route.tRoutes of internal endpoints, without the /api prefix.
val all : wrapped listval all' : unit -> 'w wrapped' listval name : ('a, 'w, 'r) t -> stringtype (_, _, _) full = | Api : ('a, 'w, 'r) t -> ('a, 'w, 'r) full| Batch : (Madge.Request.t list -> 'w, 'w, Madge.Response.t list) full| Metrics : ('w, 'w, Nes.Void.t) fullThe type of full endpoints, which are the internal endpoints augmented of some other endpoints (batching, metrics).
*)val route_full : ('a, 'w, 'r) full -> ('a, 'w, 'r) Madge.Route.tRoutes for full endpoints; this is what is ultimately used to generate URIs or to match them.
val route : ('a, 'w, 'r) t -> ('a, 'w, 'r) Madge.Route.tRoutes for internal endpoints. route e is short for route_full (Api e).