@types/node 17.0.42 → 17.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. {node → node v17.0}/LICENSE +0 -0
  2. node/README.md → node v17.0/README.md +3 -3
  3. {node → node v17.0}/assert/strict.d.ts +0 -0
  4. {node → node v17.0}/assert.d.ts +0 -0
  5. {node → node v17.0}/async_hooks.d.ts +0 -0
  6. {node → node v17.0}/buffer.d.ts +0 -0
  7. {node → node v17.0}/child_process.d.ts +0 -0
  8. {node → node v17.0}/cluster.d.ts +0 -0
  9. {node → node v17.0}/console.d.ts +0 -0
  10. {node → node v17.0}/constants.d.ts +0 -0
  11. {node → node v17.0}/crypto.d.ts +0 -0
  12. {node → node v17.0}/dgram.d.ts +0 -0
  13. {node → node v17.0}/diagnostics_channel.d.ts +0 -0
  14. {node → node v17.0}/dns/promises.d.ts +0 -0
  15. {node → node v17.0}/dns.d.ts +0 -0
  16. {node → node v17.0}/domain.d.ts +0 -0
  17. {node → node v17.0}/events.d.ts +0 -0
  18. node/fs/promises.d.ts → node v17.0/fs/promises.d.ts +1 -25
  19. node/fs.d.ts → node v17.0/fs.d.ts +2 -9
  20. {node → node v17.0}/globals.d.ts +0 -0
  21. {node → node v17.0}/globals.global.d.ts +0 -0
  22. {node → node v17.0}/http.d.ts +0 -0
  23. {node → node v17.0}/http2.d.ts +0 -0
  24. {node → node v17.0}/https.d.ts +0 -0
  25. node/index.d.ts → node v17.0/index.d.ts +0 -1
  26. {node → node v17.0}/inspector.d.ts +0 -0
  27. {node → node v17.0}/module.d.ts +0 -0
  28. node/net.d.ts → node v17.0/net.d.ts +0 -5
  29. {node → node v17.0}/os.d.ts +0 -0
  30. node/package.json → node v17.0/package.json +2 -7
  31. {node → node v17.0}/path.d.ts +0 -0
  32. {node → node v17.0}/perf_hooks.d.ts +0 -0
  33. node/process.d.ts → node v17.0/process.d.ts +11 -12
  34. {node → node v17.0}/punycode.d.ts +0 -0
  35. {node → node v17.0}/querystring.d.ts +0 -0
  36. {node → node v17.0}/readline.d.ts +0 -0
  37. {node → node v17.0}/repl.d.ts +0 -0
  38. {node → node v17.0}/stream/consumers.d.ts +0 -0
  39. {node → node v17.0}/stream/promises.d.ts +0 -0
  40. {node → node v17.0}/stream/web.d.ts +0 -0
  41. node/stream.d.ts → node v17.0/stream.d.ts +0 -26
  42. {node → node v17.0}/string_decoder.d.ts +0 -0
  43. {node → node v17.0}/timers/promises.d.ts +0 -0
  44. node/timers.d.ts → node v17.0/timers.d.ts +2 -2
  45. node/tls.d.ts → node v17.0/tls.d.ts +1 -1
  46. {node → node v17.0}/trace_events.d.ts +0 -0
  47. {node → node v17.0}/tty.d.ts +0 -0
  48. {node → node v17.0}/url.d.ts +0 -0
  49. {node → node v17.0}/util.d.ts +0 -0
  50. {node → node v17.0}/v8.d.ts +0 -0
  51. {node → node v17.0}/vm.d.ts +0 -0
  52. {node → node v17.0}/wasi.d.ts +0 -0
  53. {node → node v17.0}/worker_threads.d.ts +0 -0
  54. {node → node v17.0}/zlib.d.ts +0 -0
File without changes
@@ -5,12 +5,12 @@
5
5
  This package contains type definitions for Node.js (https://nodejs.org/).
6
6
 
7
7
  # Details
8
- Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v17.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 10 Jun 2022 23:01:33 GMT
11
+ * Last updated: Wed, 15 Jun 2022 23:01:35 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
15
15
  # Credits
16
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), and [Matteo Collina](https://github.com/mcollina).
16
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -11,7 +11,6 @@
11
11
  declare module 'fs/promises' {
12
12
  import { Abortable } from 'node:events';
13
13
  import { Stream } from 'node:stream';
14
- import { ReadableStream } from 'node:stream/web';
15
14
  import {
16
15
  Stats,
17
16
  BigIntStats,
@@ -210,29 +209,6 @@ declare module 'fs/promises' {
210
209
  */
211
210
  read<T extends NodeJS.ArrayBufferView>(buffer: T, offset?: number | null, length?: number | null, position?: number | null): Promise<FileReadResult<T>>;
212
211
  read<T extends NodeJS.ArrayBufferView = Buffer>(options?: FileReadOptions<T>): Promise<FileReadResult<T>>;
213
- /**
214
- * Returns a `ReadableStream` that may be used to read the files data.
215
- *
216
- * An error will be thrown if this method is called more than once or is called after the `FileHandle` is closed
217
- * or closing.
218
- *
219
- * ```js
220
- * import { open } from 'node:fs/promises';
221
- *
222
- * const file = await open('./some/file/to/read');
223
- *
224
- * for await (const chunk of file.readableWebStream())
225
- * console.log(chunk);
226
- *
227
- * await file.close();
228
- * ```
229
- *
230
- * While the `ReadableStream` will read the file to completion, it will not close the `FileHandle` automatically. User code must still call the `fileHandle.close()` method.
231
- *
232
- * @since v17.0.0
233
- * @experimental
234
- */
235
- readableWebStream(): ReadableStream;
236
212
  /**
237
213
  * Asynchronously reads the entire contents of a file.
238
214
  *
@@ -511,7 +487,7 @@ declare module 'fs/promises' {
511
487
  * @param [mode=0o666] Sets the file mode (permission and sticky bits) if the file is created.
512
488
  * @return Fulfills with a {FileHandle} object.
513
489
  */
514
- function open(path: PathLike, flags?: string | number, mode?: Mode): Promise<FileHandle>;
490
+ function open(path: PathLike, flags: string | number, mode?: Mode): Promise<FileHandle>;
515
491
  /**
516
492
  * Renames `oldPath` to `newPath`.
517
493
  * @since v10.0.0
@@ -1998,19 +1998,12 @@ declare module 'fs' {
1998
1998
  * @param [flags='r'] See `support of file system `flags``.
1999
1999
  * @param [mode=0o666]
2000
2000
  */
2001
- export function open(path: PathLike, flags: OpenMode | undefined, mode: Mode | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2002
- /**
2003
- * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2004
- * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2005
- * @param [flags='r'] See `support of file system `flags``.
2006
- */
2007
- export function open(path: PathLike, flags: OpenMode | undefined, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2001
+ export function open(path: PathLike, flags: OpenMode, mode: Mode | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2008
2002
  /**
2009
2003
  * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
2010
2004
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2011
2005
  */
2012
- export function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2013
-
2006
+ export function open(path: PathLike, flags: OpenMode, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
2014
2007
  export namespace open {
2015
2008
  /**
2016
2009
  * Asynchronous open(2) - open and possibly create a file.
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -40,7 +40,6 @@
40
40
  // NodeJS Contributors <https://github.com/NodeJS>
41
41
  // Linus Unnebäck <https://github.com/LinusU>
42
42
  // wafuwafu13 <https://github.com/wafuwafu13>
43
- // Matteo Collina <https://github.com/mcollina>
44
43
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
45
44
 
46
45
  /**
File without changes
File without changes
@@ -285,11 +285,6 @@ declare module 'net' {
285
285
  * @since v0.5.10
286
286
  */
287
287
  readonly remotePort?: number | undefined;
288
- /**
289
- * The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
290
- * @since v10.7.0
291
- */
292
- readonly timeout?: number | undefined;
293
288
  /**
294
289
  * Half-closes the socket. i.e., it sends a FIN packet. It is possible the
295
290
  * server will still send some data.
File without changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.42",
3
+ "version": "17.0.45",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -204,11 +204,6 @@
204
204
  "name": "wafuwafu13",
205
205
  "url": "https://github.com/wafuwafu13",
206
206
  "githubUsername": "wafuwafu13"
207
- },
208
- {
209
- "name": "Matteo Collina",
210
- "url": "https://github.com/mcollina",
211
- "githubUsername": "mcollina"
212
207
  }
213
208
  ],
214
209
  "main": "",
@@ -220,6 +215,6 @@
220
215
  },
221
216
  "scripts": {},
222
217
  "dependencies": {},
223
- "typesPublisherContentHash": "a4ad0d317dc8e34f56ab5acf9261717963605b2a6593bd2d18ddb4bae7161f26",
218
+ "typesPublisherContentHash": "af50fb21a4ee56ffd08ac1a41afbed06689aa44fec9f855368376b13ef1742b6",
224
219
  "typeScriptVersion": "4.0"
225
220
  }
File without changes
File without changes
@@ -49,7 +49,6 @@ declare module 'process' {
49
49
  openssl: string;
50
50
  }
51
51
  type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
52
- type Architecture = 'arm' | 'arm64' | 'ia32' | 'mips' | 'mipsel' | 'ppc' | 'ppc64' | 's390' | 's390x' | 'x64';
53
52
  type Signals =
54
53
  | 'SIGABRT'
55
54
  | 'SIGALRM'
@@ -642,7 +641,7 @@ declare module 'process' {
642
641
  * Android).
643
642
  * @since v0.1.31
644
643
  */
645
- getgid?: () => number;
644
+ getgid(): number;
646
645
  /**
647
646
  * The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a
648
647
  * numeric ID or a group name
@@ -669,7 +668,7 @@ declare module 'process' {
669
668
  * @since v0.1.31
670
669
  * @param id The group name or ID
671
670
  */
672
- setgid?: (id: number | string) => void;
671
+ setgid(id: number | string): void;
673
672
  /**
674
673
  * The `process.getuid()` method returns the numeric user identity of the process.
675
674
  * (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).)
@@ -686,7 +685,7 @@ declare module 'process' {
686
685
  * Android).
687
686
  * @since v0.1.28
688
687
  */
689
- getuid?: () => number;
688
+ getuid(): number;
690
689
  /**
691
690
  * The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a
692
691
  * numeric ID or a username string.
@@ -712,7 +711,7 @@ declare module 'process' {
712
711
  * This feature is not available in `Worker` threads.
713
712
  * @since v0.1.28
714
713
  */
715
- setuid?: (id: number | string) => void;
714
+ setuid(id: number | string): void;
716
715
  /**
717
716
  * The `process.geteuid()` method returns the numerical effective user identity of
718
717
  * the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).)
@@ -729,7 +728,7 @@ declare module 'process' {
729
728
  * Android).
730
729
  * @since v2.0.0
731
730
  */
732
- geteuid?: () => number;
731
+ geteuid(): number;
733
732
  /**
734
733
  * The `process.seteuid()` method sets the effective user identity of the process.
735
734
  * (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username
@@ -756,7 +755,7 @@ declare module 'process' {
756
755
  * @since v2.0.0
757
756
  * @param id A user name or ID
758
757
  */
759
- seteuid?: (id: number | string) => void;
758
+ seteuid(id: number | string): void;
760
759
  /**
761
760
  * The `process.getegid()` method returns the numerical effective group identity
762
761
  * of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).)
@@ -773,7 +772,7 @@ declare module 'process' {
773
772
  * Android).
774
773
  * @since v2.0.0
775
774
  */
776
- getegid?: () => number;
775
+ getegid(): number;
777
776
  /**
778
777
  * The `process.setegid()` method sets the effective group identity of the process.
779
778
  * (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group
@@ -800,7 +799,7 @@ declare module 'process' {
800
799
  * @since v2.0.0
801
800
  * @param id A group name or ID
802
801
  */
803
- setegid?: (id: number | string) => void;
802
+ setegid(id: number | string): void;
804
803
  /**
805
804
  * The `process.getgroups()` method returns an array with the supplementary group
806
805
  * IDs. POSIX leaves it unspecified if the effective group ID is included but
@@ -818,7 +817,7 @@ declare module 'process' {
818
817
  * Android).
819
818
  * @since v0.9.4
820
819
  */
821
- getgroups?: () => number[];
820
+ getgroups(): number[];
822
821
  /**
823
822
  * The `process.setgroups()` method sets the supplementary group IDs for the
824
823
  * Node.js process. This is a privileged operation that requires the Node.js
@@ -844,7 +843,7 @@ declare module 'process' {
844
843
  * This feature is not available in `Worker` threads.
845
844
  * @since v0.9.4
846
845
  */
847
- setgroups?: (groups: ReadonlyArray<string | number>) => void;
846
+ setgroups(groups: ReadonlyArray<string | number>): void;
848
847
  /**
849
848
  * The `process.setUncaughtExceptionCaptureCallback()` function sets a function
850
849
  * that will be invoked when an uncaught exception occurs, which will receive the
@@ -1050,7 +1049,7 @@ declare module 'process' {
1050
1049
  * ```
1051
1050
  * @since v0.5.0
1052
1051
  */
1053
- readonly arch: Architecture;
1052
+ readonly arch: string;
1054
1053
  /**
1055
1054
  * The `process.platform` property returns a string identifying the operating
1056
1055
  * system platform on which the Node.js process is running.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -20,7 +20,6 @@ declare module 'stream' {
20
20
  import { EventEmitter, Abortable } from 'node:events';
21
21
  import * as streamPromises from 'node:stream/promises';
22
22
  import * as streamConsumers from 'node:stream/consumers';
23
- import * as streamWeb from 'node:stream/web';
24
23
  class internal extends EventEmitter {
25
24
  pipe<T extends NodeJS.WritableStream>(
26
25
  destination: T,
@@ -53,23 +52,11 @@ declare module 'stream' {
53
52
  * A utility method for creating Readable Streams out of iterators.
54
53
  */
55
54
  static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;
56
- /**
57
- * A utility method for creating a `Readable` from a web `ReadableStream`.
58
- * @since v17.0.0
59
- * @experimental
60
- */
61
- static fromWeb(readableStream: streamWeb.ReadableStream, options?: Pick<ReadableOptions, 'encoding' | 'highWaterMark' | 'objectMode' | 'signal'>): Readable;
62
55
  /**
63
56
  * Returns whether the stream has been read from or cancelled.
64
57
  * @since v16.8.0
65
58
  */
66
59
  static isDisturbed(stream: Readable | NodeJS.ReadableStream): boolean;
67
- /**
68
- * A utility method for creating a web `ReadableStream` from a `Readable`.
69
- * @since v17.0.0
70
- * @experimental
71
- */
72
- static toWeb(streamReadable: Readable): streamWeb.ReadableStream;
73
60
  /**
74
61
  * Returns whether the stream was destroyed or errored before emitting `'end'`.
75
62
  * @since v16.8.0
@@ -1251,19 +1238,6 @@ declare module 'stream' {
1251
1238
  ref(): void;
1252
1239
  unref(): void;
1253
1240
  }
1254
-
1255
- /**
1256
- * Returns whether the stream has encountered an error.
1257
- * @since v17.3.0
1258
- */
1259
- function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
1260
-
1261
- /**
1262
- * Returns whether the stream is readable.
1263
- * @since v17.4.0
1264
- */
1265
- function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
1266
-
1267
1241
  const promises: typeof streamPromises;
1268
1242
  const consumers: typeof streamConsumers;
1269
1243
  }
File without changes
File without changes
@@ -69,7 +69,7 @@ declare module 'timers' {
69
69
  namespace setTimeout {
70
70
  const __promisify__: typeof setTimeoutPromise;
71
71
  }
72
- function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void;
72
+ function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
73
73
  function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
74
74
  // util.promisify no rest args compability
75
75
  // tslint:disable-next-line void-return
@@ -77,7 +77,7 @@ declare module 'timers' {
77
77
  namespace setInterval {
78
78
  const __promisify__: typeof setIntervalPromise;
79
79
  }
80
- function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void;
80
+ function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
81
81
  function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
82
82
  // util.promisify no rest args compability
83
83
  // tslint:disable-next-line void-return
@@ -158,7 +158,7 @@ declare module 'tls' {
158
158
  * Always returns `true`. This may be used to distinguish TLS sockets from regular`net.Socket` instances.
159
159
  * @since v0.11.4
160
160
  */
161
- encrypted: true;
161
+ encrypted: boolean;
162
162
  /**
163
163
  * String containing the selected ALPN protocol.
164
164
  * Before a handshake has completed, this value is always null.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes