WNS's HTTP Package (Official)
A powerful package for WNS Middleware supported by WNS Team that provides HTTP server and other useful related components.
Features
- HTTP Server
Requirements
- Node.JS + NPM
- WNS Middleware v0.0.8+
Installing
Enter your server/application's directory...
Installing with WNS Package Manager
$ wnspm install http
Installing with NPM
Inside your server or application directory just type:
$ npm install wns-http-package
Setting up to your HTTP server
Edit your server/app's config.json
and insert inside the component section, this code:
// HTTP component configuration "http": "class": "wnHttp" "listen": 80