wns-http-package
Version:
HTTP package/bundle for WNS Middleware
38 lines (24 loc) • 802 B
Markdown
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:
````js
// HTTP component configuration
"http": {
"class": "wnHttp",
"listen": [ 80 ]
}
````