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.6 Last updated 2021-02-26 22:36:58