![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
Extension adding support for responding to requests using primitive values. More...
#include <PTDiffusionPrimitive.h>
Instance Methods | |
| (void) | - respondWithDouble: |
| (BOOL) | - respondWithDoubleFloatNumber:error: |
| (void) | - respondWithLongLong: |
| (BOOL) | - respondWithInt64Number:error: |
| (BOOL) | - respondWithString:error: |
Extension adding support for responding to requests using primitive values.
| - (void) respondWithDouble: | (double) | value |
Dispatch a double-precision floating point (Eight-byte IEEE 754) response to a request.
| value | The value to send in response. |
Extends class PTDiffusionResponder.
| - (BOOL) respondWithDoubleFloatNumber: | (nullable NSNumber *) | number | |
| error: | (NSError **) | error |
Dispatch a double-precision floating point (Eight-byte IEEE 754) response to a request.
| number | The value to send in response. This may be nil in order to send a 'null' response. |
| error | Location to store a reason if this method returns NO to indicate failure. |
Extends class PTDiffusionResponder.
| - (BOOL) respondWithInt64Number: | (nullable NSNumber *) | number | |
| error: | (NSError **) | error |
Dispatch a 64-bit integer response to a request.
| number | The value to send in response. This may be nil in order to send a 'null' response. |
| error | Location to store a reason if this method returns NO to indicate failure. |
Extends class PTDiffusionResponder.
| - (void) respondWithLongLong: | (long long) | value |
Dispatch a 64-bit integer response to a request.
| value | The value to send in response. |
Extends class PTDiffusionResponder.
| - (BOOL) respondWithString: | (nullable NSString *) | string | |
| error: | (NSError **) | error |
Dispatch a string response to a request.
| string | The value to send in response. This may be nil in order to send a 'null' response. |
| error | Location to store a reason if this method returns NO to indicate failure. |
Extends class PTDiffusionResponder.