From firebase's help doc, it states
For all app types, Performance Monitoring automatically collects a trace for each network request issued by your app, called an HTTP/S network request trace Performance Monitoring automatically collects metrics for network requests that use the following networking libraries: URLSession, URLConnection
How are they tracking the http requests automatically ?