---
title: NEOnDemandRuleAction
framework: networkextension
role: symbol
role_heading: Enumeration
path: networkextension/neondemandruleaction
---

# NEOnDemandRuleAction

## Declaration

```swift
enum NEOnDemandRuleAction
```

## Topics

### Rule Actions

- [NEOnDemandRuleAction.connect](networkextension/neondemandruleaction/connect.md)
- [NEOnDemandRuleAction.disconnect](networkextension/neondemandruleaction/disconnect.md)
- [NEOnDemandRuleAction.evaluateConnection](networkextension/neondemandruleaction/evaluateconnection.md)
- [NEOnDemandRuleAction.ignore](networkextension/neondemandruleaction/ignore.md)

### Initializers

- [init(rawValue:)](networkextension/neondemandruleaction/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing the rule action

- [action](networkextension/neondemandrule/action.md)
