vittoriom / RNFPlaceholder

A placeholder project for the work in progress framework RuntimeNetworkFoundation
MIT License
0 stars 0 forks source link

Introduce a responseValidator component #33

Closed vittoriom closed 10 years ago

vittoriom commented 10 years ago

The component should be responsible of validating a response, after it's been deserialized (but before the dataSerializer has kicked in). For example it can check for specific HTTP codes, or inspecting the response to search for specific patterns (e.g. a JSON object containing "errors" array).