Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MiniBrowserEndpointHandler

Hierarchy

  • MiniBrowserEndpointHandler

Index

Methods

  • priority(): number
  • respond(statWithContent: FileStatWithContent, response: Response<any, Record<string, any>>): MaybePromise<Response<any, Record<string, any>>>
  • supportedExtensions(): MaybePromise<string | string[]>
  • Returns with or resolves to the file extensions supported by the current mini-browser endpoint handler. The file extension must not start with the leading . (dot). For instance; 'html' or ['jpg', 'jpeg']. The file extensions are case insensitive.

    Returns MaybePromise<string | string[]>