RequestCreator typedef

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

Type for a request factory.

Note: despite the name, this has nothing to do with the Dart factory keyword.