openFile method

  1. @override
FutureOr<ServerFile?> openFile(
  1. HttpRequest req,
  2. List<String> paths,
  3. String folder
)
override

Opens the first of paths[1..] that is there, else paths[0]. null when paths[0] is not there (or no regular file), a FileSystemException when it can not be opened. Needs owns.

Implementation

@override
FutureOr<ServerFile?> openFile(
  HttpRequest req,
  List<String> paths,
  String folder,
) => null;