Moya: How do we debug/see the request being set over to backend servers when using RxSwift?

Created on 6 Sep 2016  路  2Comments  路  Source: Moya/Moya

How do we debug the request being set over to backend servers? \

I'd like to be able to see exactly or print out the full request with headers parameters, etc... that is being sent over to servers when i'm doing rxswift with moya...

How exactly should we be using the .debug()?

Thanks!

question rxmoya

Most helpful comment

You can use the built-in network logging plugin which can be used to log all requests.

All 2 comments

You can use the built-in network logging plugin which can be used to log all requests.

@ashfurrow Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hamada147 picture hamada147  路  3Comments

mwawrusch picture mwawrusch  路  3Comments

dimpiax picture dimpiax  路  3Comments

syq7970 picture syq7970  路  3Comments

PlutusCat picture PlutusCat  路  3Comments