Skip to main content
Deno.PermissionOptionsObject.net - Deno documentation
property Deno.PermissionOptionsObject.net

Specifies if the net permission should be requested or revoked. if set to "inherit", the current net permission will be inherited. if set to true, the global net permission will be requested. if set to false, the global net permission will be revoked. if set to string[], the net permission will be requested with the specified host strings with the format "<host>[:<port>].

Type

"inherit"
| boolean
| string[]