@@ -130,7 +130,7 @@ - (void)subscribeDeviceWithWrapperSDKAgents:(nullable NSStringDictionary *)wrapp
130130 [request setDeviceAuthentication: deviceId localDevice: device];
131131
132132 ARTLogDebug (self->_logger , @" subscribe notifications for device %@ in channel %@ " , deviceId, self->_channel .name );
133- [self ->_rest executeRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
133+ [self ->_rest executeAblyRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
134134 if (error) {
135135 ARTLogError (self->_logger , @" %@ : subscribe notifications for device %@ in channel %@ failed (%@ )" , NSStringFromClass (self.class ), deviceId, self->_channel .name , error.localizedDescription );
136136 }
@@ -164,7 +164,7 @@ - (void)subscribeClientWithWrapperSDKAgents:(nullable NSStringDictionary *)wrapp
164164 [request setValue: [[self ->_rest defaultEncoder ] mimeType ] forHTTPHeaderField: @" Content-Type" ];
165165
166166 ARTLogDebug (self->_logger , @" subscribe notifications for clientId %@ in channel %@ " , clientId, self->_channel .name );
167- [self ->_rest executeRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
167+ [self ->_rest executeAblyRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
168168 if (error) {
169169 ARTLogError (self->_logger , @" %@ : subscribe notifications for clientId %@ in channel %@ failed (%@ )" , NSStringFromClass (self.class ), clientId, self->_channel .name , error.localizedDescription );
170170 }
@@ -201,7 +201,7 @@ - (void)unsubscribeDeviceWithWrapperSDKAgents:(nullable NSStringDictionary *)wra
201201 [request setDeviceAuthentication: deviceId localDevice: device];
202202
203203 ARTLogDebug (self->_logger , @" unsubscribe notifications for device %@ in channel %@ " , deviceId, self->_channel .name );
204- [self ->_rest executeRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
204+ [self ->_rest executeAblyRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
205205 if (error) {
206206 ARTLogError (self->_logger , @" %@ : unsubscribe notifications for device %@ in channel %@ failed (%@ )" , NSStringFromClass (self.class ), deviceId, self->_channel .name , error.localizedDescription );
207207 }
@@ -236,7 +236,7 @@ - (void)unsubscribeClientWithWrapperSDKAgents:(nullable NSStringDictionary *)wra
236236 request.HTTPMethod = @" DELETE" ;
237237
238238 ARTLogDebug (self->_logger , @" unsubscribe notifications for clientId %@ in channel %@ " , clientId, self->_channel .name );
239- [self ->_rest executeRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
239+ [self ->_rest executeAblyRequest : request withAuthOption: ARTAuthenticationOn wrapperSDKAgents: wrapperSDKAgents completion: ^(NSHTTPURLResponse *response, NSData *data, NSError *error) {
240240 if (error) {
241241 ARTLogError (self->_logger , @" %@ : unsubscribe notifications for clientId %@ in channel %@ failed (%@ )" , NSStringFromClass (self.class ), clientId, self->_channel .name , error.localizedDescription );
242242 }
0 commit comments