FMWebSocketOpenArgs Class Reference

Inherits from FMDynamic : FMSerializable : NSObject
Declared in FM.h

Overview

Open arguments for the class.

– handshakeTimeout

Gets the timeout for the handshake.

- (int)handshakeTimeout

Discussion

Gets the timeout for the handshake.

Declared In

FM.h

– headers

Gets headers to send with the handshake request.

- (FMNameValueCollection *)headers

Discussion

Gets headers to send with the handshake request.

Declared In

FM.h

– init

Creates a new instance of

- (id)init

Discussion

Creates a new instance of

Declared In

FM.h

– onFailure

Gets the callback to invoke when a connection could not be established.

- (FMCallback *)onFailure

Discussion

Gets the callback to invoke when a connection could not be established.

Declared In

FM.h

– onReceive

Gets the callback to invoke when a message is received.

- (FMCallback *)onReceive

Discussion

Gets the callback to invoke when a message is received.

Declared In

FM.h

– onRequestCreated

Gets the callback to invoke before the handshake request is sent.

- (FMCallback *)onRequestCreated

Discussion

Gets the callback to invoke before the handshake request is sent.

Declared In

FM.h

– onResponseReceived

Gets the callback to invoke after the handshake response is received.

- (FMCallback *)onResponseReceived

Discussion

Gets the callback to invoke after the handshake response is received.

Declared In

FM.h

– onStreamFailure

Gets the callback to invoke when a successful connection breaks down.

- (FMCallback *)onStreamFailure

Discussion

Gets the callback to invoke when a successful connection breaks down.

Declared In

FM.h

– onSuccess

Gets the callback to invoke when a successful connection has been established.

- (FMCallback *)onSuccess

Discussion

Gets the callback to invoke when a successful connection has been established.

Declared In

FM.h

– sender

Gets the sender of the request.

- (NSObject *)sender

Discussion

Gets the sender of the request.

Declared In

FM.h

– setHandshakeTimeout:

Sets the timeout for the handshake.

- (void)setHandshakeTimeout:(int)value

Discussion

Sets the timeout for the handshake.

Declared In

FM.h

– setHeaders:

Sets headers to send with the handshake request.

- (void)setHeaders:(FMNameValueCollection *)value

Discussion

Sets headers to send with the handshake request.

Declared In

FM.h

– setOnFailure:

Sets the callback to invoke when a connection could not be established.

- (void)setOnFailure:(FMCallback *)value

Discussion

Sets the callback to invoke when a connection could not be established.

Declared In

FM.h

– setOnFailureBlock:

Sets the callback to invoke when a connection could not be established.

- (void)setOnFailureBlock:(void ( ^ ) ( FMWebSocketOpenFailureArgs *))valueBlock

Discussion

Sets the callback to invoke when a connection could not be established.

Declared In

FM.h

– setOnReceive:

Sets the callback to invoke when a message is received.

- (void)setOnReceive:(FMCallback *)value

Discussion

Sets the callback to invoke when a message is received.

Declared In

FM.h

– setOnReceiveBlock:

Sets the callback to invoke when a message is received.

- (void)setOnReceiveBlock:(void ( ^ ) ( FMWebSocketReceiveArgs *))valueBlock

Discussion

Sets the callback to invoke when a message is received.

Declared In

FM.h

– setOnRequestCreated:

Sets the callback to invoke before the handshake request is sent.

- (void)setOnRequestCreated:(FMCallback *)value

Discussion

Sets the callback to invoke before the handshake request is sent.

Declared In

FM.h

– setOnRequestCreatedBlock:

Sets the callback to invoke before the handshake request is sent.

- (void)setOnRequestCreatedBlock:(void ( ^ ) ( FMHttpRequestCreatedArgs *))valueBlock

Discussion

Sets the callback to invoke before the handshake request is sent.

Declared In

FM.h

– setOnResponseReceived:

Sets the callback to invoke after the handshake response is received.

- (void)setOnResponseReceived:(FMCallback *)value

Discussion

Sets the callback to invoke after the handshake response is received.

Declared In

FM.h

– setOnResponseReceivedBlock:

Sets the callback to invoke after the handshake response is received.

- (void)setOnResponseReceivedBlock:(void ( ^ ) ( FMHttpResponseReceivedArgs *))valueBlock

Discussion

Sets the callback to invoke after the handshake response is received.

Declared In

FM.h

– setOnStreamFailure:

Sets the callback to invoke when a successful connection breaks down.

- (void)setOnStreamFailure:(FMCallback *)value

Discussion

Sets the callback to invoke when a successful connection breaks down.

Declared In

FM.h

– setOnStreamFailureBlock:

Sets the callback to invoke when a successful connection breaks down.

- (void)setOnStreamFailureBlock:(void ( ^ ) ( FMWebSocketStreamFailureArgs *))valueBlock

Discussion

Sets the callback to invoke when a successful connection breaks down.

Declared In

FM.h

– setOnSuccess:

Sets the callback to invoke when a successful connection has been established.

- (void)setOnSuccess:(FMCallback *)value

Discussion

Sets the callback to invoke when a successful connection has been established.

Declared In

FM.h

– setOnSuccessBlock:

Sets the callback to invoke when a successful connection has been established.

- (void)setOnSuccessBlock:(void ( ^ ) ( FMWebSocketOpenSuccessArgs *))valueBlock

Discussion

Sets the callback to invoke when a successful connection has been established.

Declared In

FM.h

– setSender:

Sets the sender of the request.

- (void)setSender:(NSObject *)value

Discussion

Sets the sender of the request.

Declared In

FM.h

– setStreamTimeout:

Sets the timeout for the stream.

- (void)setStreamTimeout:(int)value

Discussion

Sets the timeout for the stream.

Declared In

FM.h

– streamTimeout

Gets the timeout for the stream.

- (int)streamTimeout

Discussion

Gets the timeout for the stream.

Declared In

FM.h

+ webSocketOpenArgs

Creates a new instance of

+ (FMWebSocketOpenArgs *)webSocketOpenArgs

Discussion

Creates a new instance of

Declared In

FM.h