feat: add components
This commit is contained in:
12
components/component-httpserver.js
Normal file
12
components/component-httpserver.js
Normal file
@@ -0,0 +1,12 @@
|
||||
(() => {
|
||||
var httpserver = require('component-httpserver-ex.js');
|
||||
|
||||
parseQueryParameterMap = (httpExchange) => {
|
||||
return httpserver.parseQueryParameterMap(httpExchange);
|
||||
};
|
||||
|
||||
serveHTTP = (port, handler) => {
|
||||
return httpserver.serveHTTP(port, handler);
|
||||
};
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user