Sample code for 30+ languages & platforms
Lua

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Lua Downloads

Lua
local chilkat = require("chilkat")

local http = chilkat.Http.new()

local domain = http:get_domain("https://chilkatsoft.com/refdoc/csharp.asp")
print(domain)

-- Output: chilkatsoft.com