FMLiveSwitchWebSocketTransferFactory Class Reference

Creates implementations of FMLiveSwitchWebSocketWebRequestTransfer. More...

Instance Methods

(instancetype) - init
 

Class Methods

(FMLiveSwitchFunction1< NSString *, FMLiveSwitchWebSocketTransfer * > *) + createWebSocketTransfer
 Gets the callback that creates a WebSocket-based transfer class. More...
 
(FMLiveSwitchWebSocketTransfer *) + getWebSocketTransferWithUrl:
 Gets an instance of the WebSocket-based transfer class. More...
 
(void) + setCreateWebSocketTransfer:
 Sets the callback that creates a WebSocket-based transfer class. More...
 
(NSString *) + setCreateWebSocketTransferBlock
 Sets the callback that creates a WebSocket-based transfer class. More...
 
(void) + setCreateWebSocketTransferBlock:
 Sets the callback that creates a WebSocket-based transfer class. More...
 
(FMLiveSwitchWebSocketTransferFactory *) + webSocketTransferFactory
 

Detailed Description

Creates implementations of FMLiveSwitchWebSocketWebRequestTransfer.

Method Documentation

◆ createWebSocketTransfer

+ (FMLiveSwitchFunction1<NSString*,FMLiveSwitchWebSocketTransfer*>*) createWebSocketTransfer

Gets the callback that creates a WebSocket-based transfer class.

◆ getWebSocketTransferWithUrl:

+ (FMLiveSwitchWebSocketTransfer*) getWebSocketTransferWithUrl: (NSString *)  url

Gets an instance of the WebSocket-based transfer class.

◆ init

- (instancetype) init

◆ setCreateWebSocketTransfer:

+ (void) setCreateWebSocketTransfer: (FMLiveSwitchFunction1< NSString *, FMLiveSwitchWebSocketTransfer * > *)  value

Sets the callback that creates a WebSocket-based transfer class.

◆ setCreateWebSocketTransferBlock

+ (NSString*) setCreateWebSocketTransferBlock

Sets the callback that creates a WebSocket-based transfer class.

◆ setCreateWebSocketTransferBlock:

+ (void) setCreateWebSocketTransferBlock: (FMLiveSwitchWebSocketTransfer *(^)(NSString *))  valueBlock

Sets the callback that creates a WebSocket-based transfer class.

◆ webSocketTransferFactory

+ (FMLiveSwitchWebSocketTransferFactory*) webSocketTransferFactory