<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebExtension/Permission/declarativeNetRequestWithHostAccess",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:@WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess"
  },
  "title" : "declarativeNetRequestWithHostAccess"
}
-->

# declarativeNetRequestWithHostAccess

A request for access to the `browser.declarativeNetRequest` APIs with the ability to modify or redirect requests.

```
nonisolated static let declarativeNetRequestWithHostAccess: WKWebExtension.Permission
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)