Record and analyze the http traffic while running the appium tests on ios app on simulator or device?

Is there a way to record and analyze the http traffic while running the appium tests on ios app on simulator or device ?