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
-
name
The
propertyNSString
object corresponding to the hub name -
methods
The
propertyNSMutableArray
object corresponding to the subscriptions that the client can subscribe to
Initializing an SRHubRegistrationData Object
-
– initWithDictionary:
Initializes a new
SRHubRegistrationData
from aNSDictionary
object deserialized from a JSON server response
Updating an SRHubRegistrationData Object
-
– updateWithDictionary:
Updates a new
SRHubRegistrationData
from aNSDictionary
object deserialized from a JSON server response
JSON Serialization
-
– proxyForJson
Conforms to SBJson (aka json-framework) allowing
SRHubRegistrationData
to be serialized to JSON
Properties
methods
The NSMutableArray
object corresponding to the subscriptions that the client can subscribe to
@property (strong, nonatomic, readwrite) NSMutableArray *methods
Declared In
SRHubRegistrationData.h
name
The NSString
object corresponding to the hub name
@property (strong, nonatomic, readwrite) NSString *name
Declared In
SRHubRegistrationData.h
Instance Methods
initWithDictionary:
Initializes a new SRHubRegistrationData
from a NSDictionary
object deserialized from a JSON server response
- (id)initWithDictionary:(NSDictionary *)dict
Parameters
- dict
a dictionary representing an
SRHubRegistrationData
Declared In
SRHubRegistrationData.h
proxyForJson
Conforms to SBJson (aka json-framework) allowing SRHubRegistrationData
to be serialized to JSON
- (id)proxyForJson
Declared In
SRHubRegistrationData.h
updateWithDictionary:
Updates a new SRHubRegistrationData
from a NSDictionary
object deserialized from a JSON server response
- (void)updateWithDictionary:(NSDictionary *)dict
Parameters
- dict
a dictionary representing an
SRHubRegistrationData
Declared In
SRHubRegistrationData.h