UNPKG
nralcm
Version:
latest (1.0.0-alpha-2.9.4)
1.0.0-alpha-2.9.4
1.0.0-alpha-2.9.3
1.0.0-alpha-2.9.2
1.0.0-alpha-2.9.1
1.0.0-alpha-2.9
1.0.0-alpha-2.8
1.0.0-alpha-2.7
1.0.0-alpha-2.6
1.0.0-alpha-2.5
1.0.0-alpha-2.4
1.0.0-alpha-2.3
1.0.0-alpha-2.2
1.0.0-alpha-2.1
1.0.0-alpha-2
1.0.0-alpha-1.2
1.0.0-alpha-1.1
1.0.0-alpha-1
0.0.1-alpha
This is a framework based on NodeJs to manage rest api request lifecycle
nralcm
/
common
/
functions
/
get-http-response.js
9 lines
(8 loc)
•
293 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
const
lifecycle_1 =
require
(
"../../lifecycle"
);
function
getHttpResponse
(
context
) {
let
httpResponse =
new
lifecycle_1.
HttpResponse
(context);
return
httpResponse; }
exports
.
getHttpResponse
= getHttpResponse;