summaryrefslogtreecommitdiff
path: root/ext/net/lib.deno_net.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2022-08-23 10:57:01 +1000
committerGitHub <noreply@github.com>2022-08-23 10:57:01 +1000
commitd0c54777311d2cc30b824f397b7541dca80875fa (patch)
treea11ca0b7d63f7c06fef9e59500d6a8f2877a349d /ext/net/lib.deno_net.d.ts
parentcf80b0a202f18a84fe2d8d5f0f8aa1506d98804f (diff)
docs: add permission tags to JSDocs (#15541)
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
Diffstat (limited to 'ext/net/lib.deno_net.d.ts')
-rw-r--r--ext/net/lib.deno_net.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts
index 25eb893d1..d6c7d4afd 100644
--- a/ext/net/lib.deno_net.d.ts
+++ b/ext/net/lib.deno_net.d.ts
@@ -102,6 +102,7 @@ declare namespace Deno {
*
* Requires `allow-net` permission.
*
+ * @tags allow-net
* @category Network
*/
export function listen(
@@ -117,11 +118,13 @@ declare namespace Deno {
/** Path to a file containing a PEM formatted CA certificate. Requires
* `--allow-read`.
*
+ * @tags allow-read
* @deprecated This option is deprecated and will be removed in Deno 2.0.
*/
certFile?: string;
/** Server private key file. Requires `--allow-read`.
*
+ * @tags allow-read
* @deprecated This option is deprecated and will be removed in Deno 2.0.
*/
keyFile?: string;
@@ -138,6 +141,7 @@ declare namespace Deno {
*
* Requires `allow-net` permission.
*
+ * @tags allow-net
* @category Network
*/
export function listenTls(options: ListenTlsOptions): TlsListener;
@@ -165,6 +169,7 @@ declare namespace Deno {
*
* Requires `allow-net` permission for "tcp".
*
+ * @tags allow-net
* @category Network
*/
export function connect(options: ConnectOptions): Promise<TcpConn>;
@@ -225,6 +230,7 @@ declare namespace Deno {
*
* Requires `allow-net` permission.
*
+ * @tags allow-net
* @category Network
*/
export function connectTls(options: ConnectTlsOptions): Promise<TlsConn>;
@@ -255,6 +261,7 @@ declare namespace Deno {
*
* Requires `allow-net` permission.
*
+ * @tags allow-net
* @category Network
*/
export function startTls(