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 NSString object corresponding to the hub name

    property
  •   methods

    The NSMutableArray object corresponding to the subscriptions that the client can subscribe to

    property

Initializing an SRHubRegistrationData Object

Updating an SRHubRegistrationData Object

JSON Serialization

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