@@ -5,10 +5,10 @@ server. It inherits all methods from `http.Server`.
5
5
6
6
` test.js ` :
7
7
8
- ``` javascript
8
+ ``` js
9
9
// Use the HTTP version
10
- var api = require (' api' )(' http' ),
11
- msg = ' Hello World!' ;
10
+ var api = require (' api' )(' http' );
11
+ var msg = ' Hello World!' ;
12
12
13
13
var server = new api.Server ();
14
14
server .listen (1337 , ' 127.0.0.1' );
@@ -83,5 +83,21 @@ If you encounter any bugs or issues, feel free to open an issue at
83
83
84
84
## License
85
85
86
- This package is licensed under the
87
- [ MIT license] ( http://vorb.de/license/mit.html ) .
86
+ Copyright © 2011-2012 Paul Vorbach
87
+
88
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
89
+ this software and associated documentation files (the “Software”), to deal in
90
+ the Software without restriction, including without limitation the rights to
91
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
92
+ the Software, and to permit persons to whom the Software is furnished to do so,
93
+ subject to the following conditions:
94
+
95
+ The above copyright notice and this permission notice shall be included in all
96
+ copies or substantial portions of the Software.
97
+
98
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
100
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
101
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
102
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, OUT OF OR IN CONNECTION WITH THE
103
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 commit comments