Public constructor

const Public(
  1. String folder, {
  2. bool allowDirectoryListing = true,
  3. bool followLinks = false,
  4. bool jailRoot = true,
})

Implementation

const Public(
  this.folder, {

  /// awaiting dart lang solution
  /// https://github.com/dart-lang/http_server/issues/81
  // this.path = '/',
  this.allowDirectoryListing = true,
  this.followLinks = false,
  this.jailRoot = true,
});