From e82c2fd083813c18a893bb19cbc013b6df44cafb Mon Sep 17 00:00:00 2001 From: V1K1NGbg Date: Fri, 2 Aug 2024 20:24:01 +0300 Subject: move .d.tl to types folder --- src/ssl/https.d.tl | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/ssl/https.d.tl (limited to 'src/ssl/https.d.tl') diff --git a/src/ssl/https.d.tl b/src/ssl/https.d.tl deleted file mode 100644 index 94c38df6..00000000 --- a/src/ssl/https.d.tl +++ /dev/null @@ -1,50 +0,0 @@ -local ssl = require("ssl") -local SSLCertificate = ssl.SSLCertificate -local SSLConnection = ssl.SSLConnection - -local ltn12 = require("ltn12") -local Pump = ltn12.Pump -local Sink = ltn12.Sink -local Source = ltn12.Source - -local record https - record HTTPSRequest - -- HTTP options - url: string|{string} - sink: Sink - method: string - headers: {string:string} - source: Source - step: Pump - -- proxy: string -- not supported - -- redirect: boolean -- not supported - -- create: function -- https implements its own - - -- SSL options - mode: string - protocol: string - key: string - password: string|function - certificate: string - certificates: {SSLCertificate} - cafile: string - capath: string - verify: string|{string} - options: string|{string} - ciphers: string - ciphersuites: string - depth: number - dhparam: function - curve: string - curves_list: string - verifyext: string|{string} - alpn: string|function|{string} - dane: boolean - end - request: function(string): string, number, {string:string}, string - request: function(string, string): string, number, {string:string}, string - request: function(HTTPSRequest): string, number, {string:string}, string - tcp: function(): function(): SSLConnection -end - -return https \ No newline at end of file -- cgit v1.2.3-55-g6feb