Preparing search index...
The search index is not available
mockttp
mockttp
requestHandlerDefinitions
SimpleHandlerDefinition
Class SimpleHandlerDefinition
Hierarchy (
view full
)
Serializable
SimpleHandlerDefinition
SimpleHandler
Implements
RequestHandlerDefinition
Index
Constructors
constructor
Properties
data?
headers?
status
status
Message?
trailers?
type
Methods
dispose
explain
Constructors
constructor
new
Simple
Handler
Definition
(
status
,
statusMessage
?
,
data
?
,
headers
?
,
trailers
?
)
:
SimpleHandlerDefinition
Parameters
status
:
number
Optional
statusMessage
:
string
Optional
data
:
|
string
|
Uint8Array
|
Buffer
|
SerializedBuffer
Optional
headers
:
Headers
Optional
trailers
:
Trailers
Returns
SimpleHandlerDefinition
Properties
Optional
data
data
?:
|
string
|
Uint8Array
|
Buffer
|
SerializedBuffer
Optional
headers
headers
?:
Headers
status
status
:
number
Optional
status
Message
status
Message
?:
string
Optional
trailers
trailers
?:
Trailers
Readonly
type
type
:
"simple"
= 'simple'
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
data
headers
status
status
Message
trailers
type
Methods
dispose
explain
mockttp
Loading...