FMWebSyncPublisher Class Reference

Inherits from FMWebSyncBaseClient : FMDynamic : FMSerializable : NSObject
Declared in FMWebSync.h

Overview

The WebSync publisher, used for publishing data rapidly and efficiently. When developing real-time applications, it is often most efficient and secure to publish data from a server, a web service, or in general, a source that doesn’t require the ability to subscribe to channels. The is designed to do just that. A common use case for the is to send out data as it arrives from a real-time feed (e.g. stock data, sports scores, news articles, etc.). Wherever the feed is located, the can be used to send out the data rapidly to any subscribed clients. For security reasons, WebSync Server blocks Publisher requests by default. To enable direct publication, make sure “allowPublishers” is enabled in web.config. The publisher always runs synchronously. There are multiple overloads for the “Publish” method. For batch publications, use the overloads that take a collection of

+ addOnNotifyRequestWithValue:

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyRequestWithValue:(FMCallback *)value

Discussion

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyRequest:

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyRequest:(FMCallback *)value

Discussion

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyRequestWithValueBlock:

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyRequestWithValueBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherNotifyRequestArgs *))valueBlock

Discussion

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyRequestBlock:

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyRequestBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherNotifyRequestArgs *))valueBlock

Discussion

Adds a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyResponseWithValue:

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyResponseWithValue:(FMCallback *)value

Discussion

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyResponse:

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyResponse:(FMCallback *)value

Discussion

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyResponseWithValueBlock:

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyResponseWithValueBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherNotifyResponseArgs *))valueBlock

Discussion

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnNotifyResponseBlock:

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnNotifyResponseBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherNotifyResponseArgs *))valueBlock

Discussion

Adds a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishRequestWithValue:

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishRequestWithValue:(FMCallback *)value

Discussion

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishRequest:

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishRequest:(FMCallback *)value

Discussion

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishRequestWithValueBlock:

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishRequestWithValueBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherPublishRequestArgs *))valueBlock

Discussion

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishRequestBlock:

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishRequestBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherPublishRequestArgs *))valueBlock

Discussion

Adds a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishResponseWithValue:

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishResponseWithValue:(FMCallback *)value

Discussion

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishResponse:

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishResponse:(FMCallback *)value

Discussion

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishResponseWithValueBlock:

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishResponseWithValueBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherPublishResponseArgs *))valueBlock

Discussion

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnPublishResponseBlock:

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnPublishResponseBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherPublishResponseArgs *))valueBlock

Discussion

Adds a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceRequestWithValue:

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceRequestWithValue:(FMCallback *)value

Discussion

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceRequest:

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceRequest:(FMCallback *)value

Discussion

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceRequestWithValueBlock:

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceRequestWithValueBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherServiceRequestArgs *))valueBlock

Discussion

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceRequestBlock:

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceRequestBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherServiceRequestArgs *))valueBlock

Discussion

Adds a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceResponseWithValue:

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceResponseWithValue:(FMCallback *)value

Discussion

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceResponse:

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceResponse:(FMCallback *)value

Discussion

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceResponseWithValueBlock:

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceResponseWithValueBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherServiceResponseArgs *))valueBlock

Discussion

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ addOnServiceResponseBlock:

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (FMCallback *)addOnServiceResponseBlock:(void ( ^ ) ( FMWebSyncPublisher *, FMWebSyncPublisherServiceResponseArgs *))valueBlock

Discussion

Adds a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

– initWithRequestUrl:

Initializes a new instance of the class.

- (id)initWithRequestUrl:(NSString *)requestUrl

Parameters

name="requestUrl">The

absolute URL of the WebSync server request handler.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– notifyManyWithNotifications:

Sends an array of notifications synchronously over HTTP. This method always executes synchronously and returns the

- (NSMutableArray *)notifyManyWithNotifications:(NSMutableArray *)notifications

Parameters

name="notifications">The

notifications to send. The completed notifications.

Discussion

Sends an array of notifications synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– notifyWithClientId:dataBytes:

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncNotification *)notifyWithClientId:(FMGuid *)clientId dataBytes:(NSMutableData *)dataBytes

Parameters

name="dataBytes">The

data to deliver (in binary format). The generated notification.

name="clientId">The

client to which the data should be sent.

Discussion

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– notifyWithClientId:dataBytes:tag:

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncNotification *)notifyWithClientId:(FMGuid *)clientId dataBytes:(NSMutableData *)dataBytes tag:(NSString *)tag

Parameters

name="tag">The

tag that identifies the contents of the payload. The generated notification.

name="dataBytes">The

data to deliver (in binary format).

name="clientId">The

client to which the data should be sent.

Discussion

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– notifyWithClientId:dataJson:

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncNotification *)notifyWithClientId:(FMGuid *)clientId dataJson:(NSString *)dataJson

Parameters

name="dataJson">The

data to deliver (in JSON format). The generated notification.

name="clientId">The

client to which the data should be sent.

Discussion

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– notifyWithClientId:dataJson:tag:

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncNotification *)notifyWithClientId:(FMGuid *)clientId dataJson:(NSString *)dataJson tag:(NSString *)tag

Parameters

name="dataJson">The

data to deliver (in JSON format).

name="tag">The

tag that identifies the contents of the payload. The generated notification.

name="clientId">The

client to which the data should be sent.

Discussion

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– notifyWithNotification:

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncNotification *)notifyWithNotification:(FMWebSyncNotification *)notification

Parameters

name="notification">The

notification to send. The completed notification.

Discussion

Sends a notification synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

+ publisherWithRequestUrl:

Initializes a new instance of the class.

+ (FMWebSyncPublisher *)publisherWithRequestUrl:(NSString *)requestUrl

Parameters

name="requestUrl">The

absolute URL of the WebSync server request handler.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– publishManyWithPublications:

Sends an array of publications synchronously over HTTP. This method always executes synchronously and returns the

- (NSMutableArray *)publishManyWithPublications:(NSMutableArray *)publications

Parameters

name="publications">The

publications to send. The completed publications.

Discussion

Sends an array of publications synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– publishWithChannel:dataBytes:

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncPublication *)publishWithChannel:(NSString *)channel dataBytes:(NSMutableData *)dataBytes

Parameters

name="channel">The

channel to which the data should be sent.

name="dataBytes">The

data to send (in binary format). The generated publication.

Discussion

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– publishWithChannel:dataBytes:tag:

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncPublication *)publishWithChannel:(NSString *)channel dataBytes:(NSMutableData *)dataBytes tag:(NSString *)tag

Parameters

name="channel">The

channel to which the data should be sent.

name="dataBytes">The

data to send (in binary format).

name="tag">The

tag that identifies the contents of the payload. The generated publication.

Discussion

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– publishWithChannel:dataJson:

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncPublication *)publishWithChannel:(NSString *)channel dataJson:(NSString *)dataJson

Parameters

name="channel">The

channel to which the data should be sent.

name="dataJson">The

data to send (in JSON format). The generated publication.

Discussion

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– publishWithChannel:dataJson:tag:

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncPublication *)publishWithChannel:(NSString *)channel dataJson:(NSString *)dataJson tag:(NSString *)tag

Parameters

name="channel">The

channel to which the data should be sent.

name="dataJson">The

data to send (in JSON format).

name="tag">The

tag that identifies the contents of the payload. The generated publication.

Discussion

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– publishWithPublication:

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncPublication *)publishWithPublication:(FMWebSyncPublication *)publication

Parameters

name="publication">The

publication to send. The completed publication.

Discussion

Sends a publication synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

+ removeOnNotifyRequestWithValue:

Removes a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (void)removeOnNotifyRequestWithValue:(FMCallback *)value

Discussion

Removes a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnNotifyRequest:

Removes a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (void)removeOnNotifyRequest:(FMCallback *)value

Discussion

Removes a handler that is raised before a notify request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnNotifyResponseWithValue:

Removes a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (void)removeOnNotifyResponseWithValue:(FMCallback *)value

Discussion

Removes a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnNotifyResponse:

Removes a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (void)removeOnNotifyResponse:(FMCallback *)value

Discussion

Removes a handler that is raised after a notify response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnPublishRequestWithValue:

Removes a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (void)removeOnPublishRequestWithValue:(FMCallback *)value

Discussion

Removes a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnPublishRequest:

Removes a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (void)removeOnPublishRequest:(FMCallback *)value

Discussion

Removes a handler that is raised before a publish request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnPublishResponseWithValue:

Removes a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (void)removeOnPublishResponseWithValue:(FMCallback *)value

Discussion

Removes a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnPublishResponse:

Removes a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (void)removeOnPublishResponse:(FMCallback *)value

Discussion

Removes a handler that is raised after a publish response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnServiceRequestWithValue:

Removes a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (void)removeOnServiceRequestWithValue:(FMCallback *)value

Discussion

Removes a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnServiceRequest:

Removes a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

+ (void)removeOnServiceRequest:(FMCallback *)value

Discussion

Removes a handler that is raised before a service request begins. This event is designed to support extensions by allowing modifications to be applied to a request before it is sent to the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnServiceResponseWithValue:

Removes a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (void)removeOnServiceResponseWithValue:(FMCallback *)value

Discussion

Removes a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

+ removeOnServiceResponse:

Removes a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

+ (void)removeOnServiceResponse:(FMCallback *)value

Discussion

Removes a handler that is raised after a service response returns. This event is designed to support extensions by allowing modifications to be applied to a response after it is received from the server. The publisher that fired the event The associated with the event.

Declared In

FMWebSync.h

– serviceManyWithMessages:

Services an array of messages synchronously over HTTP. This method always executes synchronously and returns the

- (NSMutableArray *)serviceManyWithMessages:(NSMutableArray *)messages

Parameters

name="messages">The

messages to send. The completed messages.

Discussion

Services an array of messages synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– serviceWithChannel:dataBytes:

Services a message synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncMessage *)serviceWithChannel:(NSString *)channel dataBytes:(NSMutableData *)dataBytes

Parameters

name="channel">The

channel to which the data should be serviced.

name="dataBytes">The

data to send (in binary format). The generated message.

Discussion

Services a message synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– serviceWithChannel:dataBytes:tag:

Services a message synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncMessage *)serviceWithChannel:(NSString *)channel dataBytes:(NSMutableData *)dataBytes tag:(NSString *)tag

Parameters

name="channel">The

channel to which the data should be serviced.

name="dataBytes">The

data to send (in binary format).

name="tag">The

tag that identifies the contents of the payload. The generated message.

Discussion

Services a message synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– serviceWithChannel:dataJson:

Services a message synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncMessage *)serviceWithChannel:(NSString *)channel dataJson:(NSString *)dataJson

Parameters

name="channel">The

channel to which the data should be serviced.

name="dataJson">The

data to send (in JSON format). The generated message.

Discussion

Services a message synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– serviceWithChannel:dataJson:tag:

Services a message synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncMessage *)serviceWithChannel:(NSString *)channel dataJson:(NSString *)dataJson tag:(NSString *)tag

Parameters

name="channel">The

channel to which the data should be serviced.

name="dataJson">The

data to send (in JSON format).

name="tag">The

tag that identifies the contents of the payload. The generated message.

Discussion

Services a message synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h

– serviceWithMessage:

Services a message synchronously over HTTP. This method always executes synchronously and returns the

- (FMWebSyncMessage *)serviceWithMessage:(FMWebSyncMessage *)message

Parameters

name="message">The

message to send. The completed message.

Discussion

Services a message synchronously over HTTP. This method always executes synchronously and returns the

Declared In

FMWebSync.h