route abstract method
Registers a route whose handler accepts only a ServerHttpRequest.
router.route(GET('/ping'), (req) => 'pong');
Implementation
Router route(Route route, RequestRouterFunction handler);
Registers a route whose handler accepts only a ServerHttpRequest.
router.route(GET('/ping'), (req) => 'pong');
Router route(Route route, RequestRouterFunction handler);