RequestCreator typedef

RequestCreator = FutureOr<Request> Function(HttpRequest request, String id, Server server)

Type for a request factory.

Implementation

typedef RequestCreator = FutureOr<Request> Function(
    HttpRequest request, String id, Server server);