Preparing search index...
The search index is not available
mockttp
mockttp
requestHandlers
FileHandler
Class FileHandler
Hierarchy (
view full
)
FileHandlerDefinition
FileHandler
Index
Constructors
constructor
Properties
file
Path
headers?
status
status
Message
type
Methods
dispose
explain
handle
Constructors
constructor
new
File
Handler
(
status
,
statusMessage
,
filePath
,
headers
?
)
:
FileHandler
Parameters
status
:
number
statusMessage
:
undefined
|
string
filePath
:
string
Optional
headers
:
Headers
Returns
FileHandler
Properties
file
Path
file
Path
:
string
Optional
headers
headers
?:
Headers
status
status
:
number
status
Message
status
Message
:
undefined
|
string
Readonly
type
type
:
"file"
= 'file'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
handle
handle
(
_request
,
response
)
:
Promise
<
void
>
Parameters
_request
:
OngoingRequest
response
:
OngoingResponse
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
file
Path
headers
status
status
Message
type
Methods
dispose
explain
handle
mockttp
Loading...