File

teal-src/util/net.d.tl @ 12219:0a44def211fa

util.prosodyctl.cert: Look for certs matching 'http_host' This should ensure any certificate needed for HTTP services will also be included in the certificate import.
author Kim Alvefur <zash@zash.se>
date Thu, 27 Jan 2022 16:23:26 +0100
parent 11577:60bee6822d79
line wrap: on
line source


local enum type_strings
	"both"
	"ipv4"
	"ipv6"
end

local record lib
	local_addresses : function (type_strings, boolean) : { string }
	pton : function (string):string
	ntop : function (string):string
end
return lib