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