Typedef
Static Public Summary | ||
public |
BotOptions: Object The options to be passed into Bot constructor. |
|
public |
DataType: string | Uint8Array Is a helper type representing types that can be sent/received over a web group. |
|
public |
WebGroupOptions: Object The options to be passed into WebGroup constructor. |
Static Public
public BotOptions: Object source
The options to be passed into Bot constructor.
Properties:
Name | Type | Attribute | Description |
topology | Topology |
|
See WebGroupOptions.topology |
signalingServer | string |
|
See WebGroupOptions.signalingServer |
rtcConfiguration | RTCConfiguration |
|
See WebGroupOptions.rtcConfiguration |
autoRejoin | boolean |
|
See WebGroupOptions.autoRejoin |
bot | Object | Server related options of the bot. |
|
bot.server | HttpServer | HttpsServer | NodeJS http(s) server. |
|
bot.url | string |
|
Bot server URL. |
bot.perMessageDeflate | boolean |
|
Enable/disable permessage-deflate. |
bot.leaveOnceAlone | boolean |
|
If true, bot will live (disconnect from the signaling server) if no other peers left in the group. |
public DataType: string | Uint8Array source
Is a helper type representing types that can be sent/received over a web group.
public WebGroupOptions: Object source
The options to be passed into WebGroup constructor.
Properties:
Name | Type | Attribute | Description |
topology | Topology |
|
Topology identifier (Full mesh is the only one supported by Netflux for now). |
signalingServer | string |
|
Signaling URL for WebRTC. |
rtcConfiguration | RTCConfiguration |
|
Configuration for WebRTC. |
autoRejoin | boolean |
|
Whether to automatically rejoin the web group on disconnect or not. Its value may be modified after WebGroup instantiation at any time. |