Home Reference Source
public class | source

NodeSignalingServerService

You can directly use an instance of this class. nodeSignalingServerService

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

waitlist: *[]

Method Summary

Public Methods
public
public

async registerSocketForSignaling(socket: *, acceptWebPeers: boolean): *

public
public
Private Methods
private
private

_desinitializeNode(socket: *)

Public Constructors

public constructor() source

Public Members

public started: boolean source

public waitlist: *[] source

Public Methods

public findNodeSignalingServerWaitlist(socket: *): * source

Params:

NameTypeAttributeDescription
socket *

Return:

*

public async registerSocketForSignaling(socket: *, acceptWebPeers: boolean): * source

Params:

NameTypeAttributeDescription
socket *
acceptWebPeers boolean
  • optional
  • default: true

Return:

*

public searchNodeSignalingServerWaitlist(socket: *): * source

Params:

NameTypeAttributeDescription
socket *

Return:

*

public startConnectingWebPeers() source

Private Methods

private async _connectWebPeers() source

private _desinitializeNode(socket: *) source

Params:

NameTypeAttributeDescription
socket *