Module jls.net.http.handler.TableHttpHandler

Provide a simple HTTP handler for Lua tables.

This handler allows to access and maintian a Lua table. Exposes a table content throught HTTP REST APIs.

Class TableHttpHandler

tableHttpHandler:initialize (table[, path[, editable]]) Creates a Lua table HttpHandler.


Class TableHttpHandler

A TableHttpHandler class.
tableHttpHandler:initialize (table[, path[, editable]])
Creates a Lua table HttpHandler.

Parameters:

  • table table the table.
  • path string the table base path. (optional)
  • editable boolean true to indicate that the table can be modified. (optional)
generated by LDoc 1.4.6 Last updated 2022-01-22 16:32:56