Function: createHttpResponse()
Function: createHttpResponse()
function createHttpResponse(
content,
statusCode,
headers): OutgoingHttpResponse;
Create an OutgoingHttpResponse.
Parameters
content
unknown
The content of the response.
statusCode
number
= HTTP_OK
The status code of the response.
headers
HeadersType
= {}
The headers for the response.
Returns
A new instance of OutgoingHttpResponse.