Software /
code /
prosody
File
teal-src/util/net.d.tl @ 13505:a97c11584042 0.12
net.http: Throw error if missing TLS context for HTTPS request
Prevents the mistake of creating a http context without any TLS context
and then trying to use HTTPS, which doesn't work right.
Thanks nils
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 08 Aug 2024 19:18:22 +0200 |
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