AFMsgPackSerialization

 收藏    我在用   0 人在用

AFNetworking 2.0 Serialization Module for MsgPack

 GitHub     下载     同步

3    63    6    over 2 years前

AFMsgPackSerialization

AFMsgPackSerialization is an AFNetworking 2 extension that provides request and response serializers to automatically encodes and decodes objects to and from the MsgPack format.

Usage

// AFHTTPClient Configuration
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
manager.responseSerializer = [AFMsgPackResponseSerializer serializer];
[manager GET:@"http://example.com/foo.msgpack"
  parameters:nil
     success:^(NSHTTPURLResponse *response, id responseObject) {
         // ...
     }
     failure:nil];

Contact

Mattt Thompson

License

AFMsgPackSerialization is available under the MIT license. See the LICENSE file for more info.

 
No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up