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

hjzCy picture hjzCy  路  3Comments

JianweiWangs picture JianweiWangs  路  3Comments

cocoatoucher picture cocoatoucher  路  3Comments

JoeFerrucci picture JoeFerrucci  路  3Comments

geraldeersteling picture geraldeersteling  路  3Comments