wannyk / AFMsgPackSerialization

AFNetworking 2.0 Serialization Module for MsgPack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

AFNetworking 2.0 Serialization Module for MsgPack

License:MIT License


Languages

Language:Objective-C 93.3%Language:Ruby 6.7%