# Network on iOS

THEOplayer makes a number of network requests, and receives responses, while it is loading and playing a stream. The Network API allows you to intercept those requests and responses, so you can inspect them, modify them, redirect them, or respond with your own data.

Common use cases are adding authentication headers or query parameters to segment requests, redirecting requests to another CDN, or rewriting a manifest before the player parses it.

The iOS SDK exposes this API through [`NetworkAPI`](https://optiview.dolby.com/docs/theoplayer/v11/api-reference/ios/Protocols/NetworkAPI), available on `player.network`. It allows you to intercept the requests and responses of HLS playlists.

## Related articles

* [How to add and remove request and response interceptors](https://optiview.dolby.com/docs/theoplayer/how-to-guides/ios/network/request-response-interceptors.md)
