Skip to main content

Class: FileHttpResult

A class for representing HTTP file results.

Extends​

Constructors​

Constructor​

new FileHttpResult(filePath, options?): FileHttpResult

Parameters​

filePath​

string

options?​
contentType?​

string

filename?​

string

Returns​

FileHttpResult

Overrides​

HttpResult.constructor

Properties​

rc​

readonly rc: number

Inherited from​

HttpResult.rc


value​

readonly value: undefined

Inherited from​

HttpResult.value

Methods​

process()​

process(context): Promise<void>

Processes the result using the provided execution context.

Parameters​

context​

HttpContext

The execution context containing relevant information for processing.

Returns​

Promise<void>

A promise resolving when the result has been processed.

Overrides​

HttpResult.process