Implements

Constructors

Properties

attachRequestHandlerPromise: Promise<void>
contributions: ContributionProvider<MiniBrowserEndpointHandler>
handlers: Map<string, MiniBrowserEndpointHandler> = ...
logger: ILogger

Methods

  • Returns ((statWithContent, response) => MaybePromise<Response<any, Record<string, any>>>)

      • (statWithContent, response): MaybePromise<Response<any, Record<string, any>>>
      • Parameters

        Returns MaybePromise<Response<any, Record<string, any>>>

  • Returns ((error, uri, response) => MaybePromise<Response<any, Record<string, any>>>)

      • (error, uri, response): MaybePromise<Response<any, Record<string, any>>>
      • Parameters

        • error: any
        • uri: string
        • response: Response<any, Record<string, any>>

        Returns MaybePromise<Response<any, Record<string, any>>>

  • Returns ((uri, response) => MaybePromise<Response<any, Record<string, any>>>)

      • (uri, response): MaybePromise<Response<any, Record<string, any>>>
      • Parameters

        • uri: string
        • response: Response<any, Record<string, any>>

        Returns MaybePromise<Response<any, Record<string, any>>>

  • Resolves to an array of file extensions - priority pairs supported by the Mini Browser.

    The file extensions start without the leading dot (.) and should be treated in a case-insensitive way. This means, if the Mini Browser supports ['jpg'], then it can open the MyPicture.JPG file.

    Returns Promise<Readonly<{
        extension: string;
        priority: number;
    }>[]>