core.server.lua

-- Require the class.
local server = require "luchia.core.server"
-- Build a new server object.
local srv = server:new({
  connection = {
    protocol = "http",
    host = "www.example.com",
    port = "5984",
  },
})
-- Make a request.
local response = srv:request({
  path = "/",
})
generated by LDoc 1.4.3 Last updated 2016-01-14 11:22:48