Type alias StaticsControllerFile

StaticsControllerFile: {
    headers?: Record<string, string>;
    path: string;
    route: string;
}

The definition for each file the controller handles.

Type declaration

  • Optional headers?: Record<string, string>

    A dictionary of headers for the response.

  • path: string

    The path to the file in the filesystem. Since the file is served using the SendFile service, whether the file is relative to the project root or the application executable depends on how the service is configured (relative to the executable by default).

  • route: string

    The route, relative to the controller root, to the file.

Generated using TypeDoc