HttpFileResult

module:most-web.mvc. HttpFileResult

HttpFileResult

Constructor

new HttpFileResult(physicalPath, fileNameopt)

Represents a static file result
Parameters:
Name Type Attributes Description
physicalPath string
fileName string <optional>
Source:

Extends

  • HttpResult

Methods

execute(context, callback)

Parameters:
Name Type Description
context HttpContext
callback function
Source: