Theia API Documentation v1.69.0
    Preparing search index...
    interface MiniBrowserEndpointHandler {
        priority(): number;
        respond(
            statWithContent: FileStatWithContent,
            response: Response,
        ): MaybePromise<Response<any, Record<string, any>>>;
        supportedExtensions(): MaybePromise<string | string[]>;
    }

    Implemented by

    Index

    Methods

    • 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[]>