Featured Development Resources iOS Development Libraries Open Source iOS Libraries And Tools Swift

ResponseDetective – A Swift Library That Intercepts Networking Request Details For Easier Debugging

ResponseDetective is an open source Swift library from netguru that allows you to automatically intercept incoming and outgoing communication requests and view details of those requests for debugging.

With a few lines of code you can add ResponseDetective and get networking request details in the console like in this example from the readme:

<0x000000000badf00d> [REQUEST] GET

<0x000000000badf00d> [RESPONSE] 200 (NO ERROR)
Server: nginx
Date: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: application/json
“args” : {
“headers” : {
“User-Agent” : “ResponseDetective\/1 CFNetwork\/758.3.15 Darwin\/15.4.0”,
“Accept-Encoding” : “gzip, deflate”,
“Host” : “”,
“Accept-Language” : “en-us”,
“Accept” : “*\/*”
“url” : “https:\/\/\/get”

You can find ResponseDetective on Github here.

A great library for easier network debugging.

Exit mobile version