---
title: "handleRemediation(for:)"
framework: networkextension
role: symbol
role_heading: Instance Method
path: "networkextension/nefilterdataprovider/handleremediation(for:)"
---

# handleRemediation(for:)

Handle a remediation request.

## Declaration

```swift
func handleRemediation(for flow: NEFilterFlow) -> NEFilterRemediationVerdict
```

## Parameters

- `flow`: An doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterFlow object containing information about the flow.

## Return Value

Return Value An NEFilterRemediationVerdict object indicating how the system should handle the flow of network content.

## Discussion

Discussion The system calls this method when the user taps or clicks on the remediation link in the “block” web page in a WebKit browser object and the target of the remediation link is not set to a web page. NEFilterDataProvider subclasses must override this method.
