Uh oh!
There was an error while loading. Please reload this page.
Compatibility with AFNetworking 3 and HTTP/2 - #22
Conversation
abbasmousavi
commented
Jun 26, 2016
@mattt@kylef@cnoon@kcharwood@wiistriker |
| // THE SOFTWARE. | ||
| #import "AFHTTPRequestOperationManager.h" | ||
| #import "AFHTTPSessionManager.h" |
There was a problem hiding this comment.
This should probably just import AFNetworkings framework header.
#import<AFNetworking/AFNetworking.h>abbasmousavi
commented
Aug 24, 2016
@kylef Yes, I have fixed it. Thanks. |
| s.tvos.deployment_target = '9.0' | ||
| s.dependency 'AFNetworking', '~> 2.1' | ||
| s.dependency 'AFNetworking', '> 2.1' |
There was a problem hiding this comment.
I think it would be better to lock to ~> 3.0 or perhaps a range of > 2.1, < 4.0 if AFNetworking 2 should still be supported. Otherwise any breaking changes in AFNetworking 4.0 would break AFJSONRPCClient.
There was a problem hiding this comment.
This code only works with AFNetworking 3.0, It is better to lock it to ~> 3.0.
We can create a branch with current code for AFNetworking 2.0 if anyone uses it.
I have changed it in a new commit.
@kylef
abbasmousavi
commented
Mar 19, 2018
dents
commented
Apr 27, 2018
Any chance of getting this checked in? |
Using AFHTTPSessionManager instead of AFHTTPRequestOperation so that we can use AFJSONRPCClient with AFNetworking 3 and send JSON-RPC request over HTTP/2