Filtering traffic by URL with OHTTP Gateway

Hello, I am developing a URL traffic filtering system.

I’ve set up a PIR server following this guide: https://developer.apple.com/documentation/networkextension/setting-up-a-pir-server-for-url-filtering

According to this WWDC25 video, it appears that I need to use an OHTTP Gateway: https://developer.apple.com/videos/play/wwdc2025/234/

So, I developed an OHTTP Gateway and verified it using a test client.

Following that, I built the app and installed it on a test iPhone based on this sample: https://developer.apple.com/documentation/networkextension/filtering-traffic-by-url

However, I cannot find any settings related to the OHTTP URL within this sample.

How should I proceed with the OHTTP configuration in this case?

Thank you.

Additional Questions:

As I understand it, using an OHTTP Gateway requires an OHTTP Relay to function correctly. Is this correct?

If so, is it possible to test URL Filtering with a PIR Server directly through the OHTTP Gateway, bypassing the Relay for testing purposes?

Thank you.

Filtering traffic by URL with OHTTP Gateway
 
 
Q