API Docs for:
Show:

Server Class

Defined in: server.js:7
Module: server

The server file

Item Index

Methods

db.close

()

Defined in server.js:175

Close the database and send data to the client afterwards

handler

()

Defined in server.js:35

Node.js/Socket.io webserver callback, serves files

openDb

()

Defined in server.js:23

Open the database

Returns:

opened database

Events

connection

Defined in server.js:59

Called when a client connection is established

Event Payload:

  • socket Object

get_data

Defined in server.js:84

Called when a client requests timenet data

Event Payload:

  • data Object

    contains the timenet id that is requested