SRHubRegistrationData Class Reference
| Inherits from | NSObject |
| Declared in | SRHubRegistrationData.h |
Overview
An SRHubRegistrationData object defines the interface for registering subscriptions with a SignalR Hub
Tasks
Properties
-
nameThe
propertyNSStringobject corresponding to the hub name -
methodsThe
propertyNSMutableArrayobject corresponding to the subscriptions that the client can subscribe to
Initializing an SRHubRegistrationData Object
-
– initWithDictionary:Initializes a new
SRHubRegistrationDatafrom aNSDictionaryobject deserialized from a JSON server response
Updating an SRHubRegistrationData Object
-
– updateWithDictionary:Updates a new
SRHubRegistrationDatafrom aNSDictionaryobject deserialized from a JSON server response
JSON Serialization
-
– proxyForJsonConforms to SBJson (aka json-framework) allowing
SRHubRegistrationDatato be serialized to JSON
Properties
methods
The NSMutableArray object corresponding to the subscriptions that the client can subscribe to
@property (strong, nonatomic, readwrite) NSMutableArray *methodsDeclared In
SRHubRegistrationData.hname
The NSString object corresponding to the hub name
@property (strong, nonatomic, readwrite) NSString *nameDeclared In
SRHubRegistrationData.hInstance Methods
initWithDictionary:
Initializes a new SRHubRegistrationData from a NSDictionary object deserialized from a JSON server response
- (id)initWithDictionary:(NSDictionary *)dictParameters
- dict
a dictionary representing an
SRHubRegistrationData
Declared In
SRHubRegistrationData.hproxyForJson
Conforms to SBJson (aka json-framework) allowing SRHubRegistrationData to be serialized to JSON
- (id)proxyForJsonDeclared In
SRHubRegistrationData.hupdateWithDictionary:
Updates a new SRHubRegistrationData from a NSDictionary object deserialized from a JSON server response
- (void)updateWithDictionary:(NSDictionary *)dictParameters
- dict
a dictionary representing an
SRHubRegistrationData
Declared In
SRHubRegistrationData.h