Home Reference Source
import MRequire from 'tman-wrtc/lib/messages/mrequire.js'
public class | source

MRequire

Message sent by a peer to another. The latter tries to connect the former to peers contained in this message.

Constructor Summary

Public Constructor
public

constructor(peers: string[])

Member Summary

Public Members
public

peers: *

public

Public Constructors

public constructor(peers: string[]) source

Params:

NameTypeAttributeDescription
peers string[]

The identifiers of peers that the sender requests.

Public Members

public peers: * source

public type: string source