paulmelnikow / AFNetworking-Synchronous

Synchronous requests for AFNetworking 1.x, 2.x, and 3.x
MIT License
162 stars 34 forks source link

Add support for AFNetworking 4.x #10

Closed moyitpro closed 2 years ago

moyitpro commented 2 years ago

Add missing header parameter as suggested in https://github.com/paulmelnikow/AFNetworking-Synchronous/issues/9#issuecomment-644450986. Tested and it seems to work in my app using this category with AFNetworking 4.0.1.

paulmelnikow commented 2 years ago

Thanks for this! I'm happy to merge it.

Do you think you could update the podspec to add a 4.x subspec, and also update the readme?

moyitpro commented 2 years ago

Just pushed an update. The reader for 4.x is the same except for the added headers parameter that is now required.

Sent from my iPhone 11 Pro (Shijou Takane - 四条貴音)

On Dec 12, 2021, at 6:42 PM, Paul Melnikow @.***> wrote:

 Thanks for this! I'm happy to merge it.

Do you think you could update the podspec to add a 4.x subspec, and also update the readme?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

paulmelnikow commented 2 years ago

Thank you!