---
title: request()
framework: BrowserEngineKit
role: symbol
role_heading: Instance Method
platforms: [iOS 17.4+, iPadOS 17.4+, macOS 14.3+]
path: browserenginekit/processcapability/request()
---

# request()

Requests the capability to be granted to the current process.

## Declaration

```swift
func request() throws -> ProcessCapability.Grant
```

## Discussion

Discussion Returns the granted capability or throws an error if it can not be granted.
