Diffusion Apple API  6.9.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Instance Methods | List of all members
PTDiffusionResponder(PTDiffusionJSON) Category Reference

Introduction

Extension adding support for responding to requests using JSON values.

Since
6.0

Instance Methods

(void) - respondWithJSON:
 

Method Documentation

- (void) respondWithJSON: (PTDiffusionJSON *)  json

Dispatch a response to a request.

Parameters
jsonThe value to send in response.
Exceptions
NSInvalidArgumentExceptionRaised if the json argument is nil.
Since
6.0

Extends class PTDiffusionResponder.