depoon / NetworkInterceptor

iOS URLRequest interception framework
MIT License
157 stars 35 forks source link

Response interception #26

Open joshianant34 opened 2 years ago

joshianant34 commented 2 years ago

Can we get the responses of the outgoing calls also along with the request details [during simple network interception of the requests], cc : @depoon @StevenArmandLee

joshianant34 commented 2 years ago

How to fetch/log the responses while intercepting the requests , I am seeing a way to log the responses during Request Redirection but not when we are just sniffing them

depoon commented 1 year ago

hi @joshianant34

If you want to intercept requests fired by the client application, feel free to use URLRequest.cURL. https://github.com/depoon/NetworkInterceptor/blob/master/NetworkInterceptor.podspec#L22

Otherwise, I welcome a pull request for the feature to understand your requirements better.