![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
Extension adding support for responding to requests using JSON values. More...
#include <PTDiffusionJSON.h>
Instance Methods | |
| (void) | - respondWithJSON: |
Extension adding support for responding to requests using JSON values.
| - (void) respondWithJSON: | (PTDiffusionJSON *) | json |
Dispatch a response to a request.
| json | The value to send in response. |
| NSInvalidArgumentException | Raised if the json argument is `nil`. |
Extends class PTDiffusionResponder.