Maru v0.9.5 Maru.Router.Endpoint

Generate endpoint of maru router.

Summary

Functions

Generate general endpoint defined by user within method block

Generate MethodNotAllow endpoint for all path without match method

Parse and validate params

Functions

dispatch(ep)

Generate general endpoint defined by user within method block.

dispatch_405(version, path)

Generate MethodNotAllow endpoint for all path without match method.

validate_params(list, params, result)

Parse and validate params.