Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 841 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 841 Bytes

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.