diff options
Diffstat (limited to 'js/lib.deno_runtime.d.ts')
-rw-r--r-- | js/lib.deno_runtime.d.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/js/lib.deno_runtime.d.ts b/js/lib.deno_runtime.d.ts index fc4e6508f..36e49c9c2 100644 --- a/js/lib.deno_runtime.d.ts +++ b/js/lib.deno_runtime.d.ts @@ -999,8 +999,17 @@ declare namespace Deno { */ export function dial(options: DialOptions): Promise<Conn>; - // @url js/metrics.d.ts + export interface DialTLSOptions { + port: number; + hostname?: string; + } + /** + * dialTLS establishes a secure connection over TLS (transport layer security). + */ + export function dialTLS(options: DialTLSOptions): Promise<Conn>; + + // @url js/metrics.d.ts export interface Metrics { opsDispatched: number; opsCompleted: number; |