SRNegotiationResponse Class Reference
| Inherits from | NSObject |
| Declared in | SRNegotiationResponse.h |
Overview
An SRNegotiationResponse object provides access to the negotiation response object received from the server
Tasks
Properties
-
connectionIdAn
propertyNSStringobject representing the connectionId belonging to the current client -
urlAn
propertyNSStringobject representing the app relative server url the client should use for all subsequent requests -
protocolVersionAn
propertyNSStringobject representing the protocol version the server is using.
Initializing an SRNegotiationResponse Object
-
– initWithDictionary:Initializes a new
SRNegotiationResponsefrom aNSDictionaryobject deserialized from a JSON server response
Updating an SRNegotiationResponse Object
-
– updateWithDictionary:Updates a new
SRNegotiationResponsefrom aNSDictionaryobject deserialized from a JSON server response
JSON Serialization
-
– proxyForJsonConforms to SBJson (aka json-framework) allowing
SRNegotiationResponseto be serialized to JSON
Properties
connectionId
An NSString object representing the connectionId belonging to the current client
@property (strong, nonatomic, readonly) NSString *connectionIdDeclared In
SRNegotiationResponse.hprotocolVersion
An NSString object representing the protocol version the server is using.
@property (strong, nonatomic, readonly) NSString *protocolVersionDeclared In
SRNegotiationResponse.hurl
An NSString object representing the app relative server url the client should use for all subsequent requests
@property (strong, nonatomic, readonly) NSString *urlDeclared In
SRNegotiationResponse.hInstance Methods
initWithDictionary:
Initializes a new SRNegotiationResponse from a NSDictionary object deserialized from a JSON server response
- (id)initWithDictionary:(NSDictionary *)dictParameters
- dict
a dictionary representing an
SRNegotiationResponse
Declared In
SRNegotiationResponse.hproxyForJson
Conforms to SBJson (aka json-framework) allowing SRNegotiationResponse to be serialized to JSON
- (id)proxyForJsonDeclared In
SRNegotiationResponse.hupdateWithDictionary:
Updates a new SRNegotiationResponse from a NSDictionary object deserialized from a JSON server response
- (void)updateWithDictionary:(NSDictionary *)dictParameters
- dict
a dictionary representing an
SRNegotiationResponse
Declared In
SRNegotiationResponse.h