UNPKG

@barchart/common-node-js

Version:

Common classes, utilities, and functions for building Node.js servers

22 lines (17 loc) 375 B
const Container = require('./../Container'), RestEndpoint = require('./RestEndpoint'); module.exports = (() => { 'use strict'; class RestContainer extends Container { constructor(port, path, secure) { super(port, path, secure); } _getEndpointType() { return RestEndpoint; } toString() { return '[RestContainer]'; } } return RestContainer; })();