Preparing search index...
The search index is not available
Deepkit
Deepkit
http
MemoryHttpResponse
Class MemoryHttpResponse
Hierarchy
HttpResponse
MemoryHttpResponse
Index
Constructors
constructor
Properties
body
headers
Accessors
body
String
json
Methods
end
get
Header
get
Headers
remove
Header
set
Header
status
write
write
Head
Constructors
constructor
new
Memory
Http
Response
(
req
:
IncomingMessage
)
:
MemoryHttpResponse
Parameters
req:
IncomingMessage
Returns
MemoryHttpResponse
Properties
body
body
:
Buffer
= ...
headers
headers
:
{
[name:
string
]
:
number
|
string
|
string
[]
|
undefined
;
}
= ...
Type declaration
[
name:
string
]:
number
|
string
|
string
[]
|
undefined
Accessors
body
String
get
bodyString
(
)
:
string
Returns
string
json
get
json
(
)
:
any
Returns
any
Methods
end
end
(
chunk
:
any
, encoding
?:
any
, callback
?:
any
)
:
any
Parameters
chunk:
any
Optional
encoding:
any
Optional
callback:
any
Returns
any
get
Header
get
Header
(
name
:
string
)
:
undefined
|
string
|
number
|
string
[]
Parameters
name:
string
Returns
undefined
|
string
|
number
|
string
[]
get
Headers
get
Headers
(
)
:
OutgoingHttpHeaders
Returns
OutgoingHttpHeaders
remove
Header
remove
Header
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
set
Header
set
Header
(
name
:
string
, value
:
string
|
number
|
readonly
string
[]
)
:
MemoryHttpResponse
Parameters
name:
string
value:
string
|
number
|
readonly
string
[]
Returns
MemoryHttpResponse
status
status
(
code
:
number
)
:
void
Parameters
code:
number
Returns
void
write
write
(
chunk
:
any
, encoding
:
any
, callback
?:
any
)
:
any
Parameters
chunk:
any
encoding:
any
Optional
callback:
any
Returns
any
write
Head
write
Head
(
statusCode
:
number
, headersOrReasonPhrase
?:
string
|
OutgoingHttpHeaders
|
OutgoingHttpHeader
[]
, headers
?:
OutgoingHttpHeaders
|
OutgoingHttpHeader
[]
)
:
MemoryHttpResponse
Parameters
statusCode:
number
Optional
headersOrReasonPhrase:
string
|
OutgoingHttpHeaders
|
OutgoingHttpHeader
[]
Optional
headers:
OutgoingHttpHeaders
|
OutgoingHttpHeader
[]
Returns
MemoryHttpResponse
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Memory
Http
Response
constructor
body
headers
body
String
json
end
get
Header
get
Headers
remove
Header
set
Header
status
write
write
Head
Generated using
TypeDoc