appsquickly / TyphoonRestClient

Flexible HTTP client for Objective-C and Swift
Apache License 2.0
24 stars 5 forks source link

Allow null values in response objects #15

Closed SandeepAggarwal closed 7 years ago

SandeepAggarwal commented 7 years ago

It is documented that

TyphoonRestClient skips any [NSNull null] values in response and request dictionaries by default.

How can we allow to include '[NSNull null]' objects in request since I need to send null values instead of empty strings?

SandeepAggarwal commented 7 years ago

Ok, I figured it . We have to override - responseTransformationOptions of TRCRequest object