Preparing search index...
The search index is not available
mockttp
mockttp
requestHandlers
StreamHandler
Class StreamHandler
Hierarchy (
view full
)
StreamHandlerDefinition
StreamHandler
Index
Constructors
constructor
Properties
headers?
status
stream
type
Methods
dispose
explain
handle
Constructors
constructor
new
Stream
Handler
(
status
,
stream
,
headers
?
)
:
StreamHandler
Parameters
status
:
number
stream
:
Readable
&
{
done
?:
true
;
}
Optional
headers
:
Headers
Returns
StreamHandler
Properties
Optional
headers
headers
?:
Headers
status
status
:
number
stream
stream
:
Readable
&
{
done
?:
true
;
}
Readonly
type
type
:
"stream"
= 'stream'
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
headers
status
stream
type
Methods
dispose
explain
handle
mockttp
Loading...