handle method
Implementation
@override
void handle(String endpoint, EndpointHandler handler) {
var method = ShelfApiRequest.methodFor(endpoint);
_router.add(
method, '/${_pathSegment(endpoint)}', _wrap(method, endpoint, handler));
}
@override
void handle(String endpoint, EndpointHandler handler) {
var method = ShelfApiRequest.methodFor(endpoint);
_router.add(
method, '/${_pathSegment(endpoint)}', _wrap(method, endpoint, handler));
}