---
title: direction
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nefilterflow/direction
---

# direction

The initial direction of the flow: incoming or outgoing.

## Declaration

```swift
var direction: NETrafficDirection { get }
```

## See Also

### Inspecting flow properties

- [url](networkextension/nefilterflow/url.md)
- [identifier](networkextension/nefilterflow/identifier.md)
- [NETrafficDirection](networkextension/netrafficdirection.md)
- [NEFilterFlowBytesMax](networkextension/nefilterflowbytesmax.md)
