viva-server-http

3.0.2 • Public • Published

Classes

Server_http

(license MIT) simple http server, full example - see example.js

Typedefs

type_pair

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

Readme

Keywords

Package Sidebar

Install

npm i viva-server-http

Weekly Downloads

11

Version

3.0.2

License

MIT

Unpacked Size

10.2 kB

Total Files

4

Last publish

Collaborators

  • vasilev.v.vitalii