Metrics
0
Watch 34 Star 78 Fork 21

hwclegend / cosjsNodeJSApache-2.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
nodejs开发web服务器群集,主要针对页游,手游服务器端,可以方便的搭建web 服务器,同时又具有很高的扩展性。 spread retract

Clone or download
hwclegend authored 优化
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

cosjs - a node.js web server

This is a web server for node.js. easy to create web or mobile game server.

Install with:

npm install cosjs

Usage

Simple example, included as test/session.js:

    var app = cosjs.http(80);
    app.static(__dirname + '/wwwroot');
    app.server('/api/',__dirname + '/api');
	cosjs.start();

Demo

test/session.js

Comments ( 0 )

You need to Sign in for post a comment

Help Search