WSCDataChannelOption Class Reference
Inherits from | NSObject |
---|---|
Declared in | WSCDataChannelConfig.h |
ordered
Indicates if the data channel should guarantee order or not.
@property (nonatomic) BOOL ordered
Discussion
Indicates if the data channel should guarantee order or not.
Declared In
WSCDataChannelConfig.h
maxRetransmitTimeMs
Indicates the maximum time to try and retransmit a failed message in milliseconds.
@property (nonatomic) NSInteger maxRetransmitTimeMs
Discussion
Indicates the maximum time to try and retransmit a failed message in milliseconds.
Declared In
WSCDataChannelConfig.h
maxRetransmits
Indicates the maximum number of times to try and retransmit a failed message.
@property (nonatomic) NSInteger maxRetransmits
Discussion
Indicates the maximum number of times to try and retransmit a failed message.
Declared In
WSCDataChannelConfig.h
protocol
Indicates the protocol to be used for the data channel.
@property (nonatomic) NSString *protocol
Discussion
Indicates the protocol to be used for the data channel.
Declared In
WSCDataChannelConfig.h
negotiated
Indicates if the underlying channel has been externally negotiated. If unsupported, the data-channel will fail.
@property (nonatomic) BOOL negotiated
Discussion
Indicates if the underlying channel has been externally negotiated. If unsupported, the data-channel will fail.
Declared In
WSCDataChannelConfig.h
id
The stream ID for the channel.
@property (nonatomic) NSInteger id
Discussion
The stream ID for the channel.
Declared In
WSCDataChannelConfig.h
– toJson
Returns a JSON string representation of the WSCDataChannelOption object.
- (NSDictionary *)toJson
Return Value
NSString
Discussion
Returns a JSON string representation of the WSCDataChannelOption object.
Declared In
WSCDataChannelConfig.h