Preparing search index...
The search index is not available
mockttp
mockttp
requestHandlerDefinitions
FileHandlerDefinition
Class FileHandlerDefinition
Hierarchy (
view full
)
Serializable
FileHandlerDefinition
FileHandler
Implements
RequestHandlerDefinition
Index
Constructors
constructor
Properties
file
Path
headers?
status
status
Message
type
Methods
dispose
explain
Constructors
constructor
new
File
Handler
Definition
(
status
,
statusMessage
,
filePath
,
headers
?
)
:
FileHandlerDefinition
Parameters
status
:
number
statusMessage
:
undefined
|
string
filePath
:
string
Optional
headers
:
Headers
Returns
FileHandlerDefinition
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
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
file
Path
headers
status
status
Message
type
Methods
dispose
explain
mockttp
Loading...