Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Add option to record AFNetworking #7

Open
Ashton-W opened this issue May 16, 2016 · 1 comment
Open

Add option to record AFNetworking #7

Ashton-W opened this issue May 16, 2016 · 1 comment

Comments

@Ashton-W
Copy link
Contributor

Ashton-W commented May 16, 2016

AFNetworking posts notifications as request operations and session tasks are started and finish. We could add an option to setup the recorder to listen to all AFNetworking activity, without dealing with the underlying NSURLSession objects.

See: https://github.com/AFNetworking/AFNetworkActivityLogger

@johndpope
Copy link

Hi Ashton,

There is this AFNetworking library that records to HTTP Archive format.
https://github.com/mutualmobile/AFHARchiver

Seems like a bit of an oversight none of these libraries use this format to save data
https://gist.github.com/jjarava/5f26806bba75d052c41a

I opened this ticket for OHHTTPStubs to add support to this
AliSoftware/OHHTTPStubs#204
This library could also consider support this format.

And threw up this code to help assist this.
https://github.com/johndpope/har-reader

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants