new Message(id, name, input, handleropt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
id |
number | ||
name |
string | ||
input |
string | Object | see Type constructor |
|
handler |
function |
<optional> |
- Source:
Members
(nullable) handler :function
Type:
- function
- Source:
(readonly) hash :Buffer
Hash that is used to check peer compatibility
Type:
- Buffer
- Source:
id :number
Type:
- number
- Source:
(nullable) input :Type
Type:
- Type
- Source:
name :string
Type:
- string
- Source: