3.0.2 • Published 6 years ago
viva-server-http v3.0.2
Classes
Typedefs
Server_http
(license MIT) simple http server, full example - see example.js
Kind: global class
server_http.ip
{string}
Kind: instance property of Server_http
server_http.port
{number}
Kind: instance property of Server_http
server_http.server
{any}
Kind: instance property of Server_http
server_http.emit
{any}
Kind: instance property of Server_http
server_http.on
{any}
Kind: instance property of Server_http
server_http.start(ip, port)
start http server
Kind: instance method of Server_http
Param | Type | Description |
---|---|---|
ip | string | ip, default 127.0.0.1 |
port | number | port, default 3000 |
type_pair
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
variable | string | variable |
value | any | value |