HttpResponseWrapper refactor

This commit is contained in:
Alex Hultman
2019-01-14 13:17:08 +01:00
parent 80bc15915b
commit 810695f32c
4 changed files with 67 additions and 54 deletions

View File

@@ -80,8 +80,8 @@ void Main(Local<Object> exports) {
WebSocketWrapper::initWsTemplate<1>();
/* Initialize SSL and non-SSL templates */
initResTemplate<0>();
initResTemplate<1>();
HttpResponseWrapper::initResTemplate<0>();
HttpResponseWrapper::initResTemplate<1>();
/* Init a shared request object */
HttpRequestWrapper::initReqTemplate();