WebsocketServerPlugin
Test:
Constructor Summary
Public Constructor | ||
public |
constructor(options: object) Create an OSC WebsocketServerPlugin instance with given options. |
Member Summary
Private Members | ||
private |
|
|
private |
|
|
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
close() Close Websocket server |
|
public |
Start a Websocket server. |
|
public |
send(binary: Uint8Array) Send an OSC Packet, Bundle or Message to Websocket clients |
|
public |
Returns the current status of the connection |
Private Methods | ||
private |
registerNotify(fn: function) Internal method to hook into osc library's EventHandler notify method |
Public Constructors
Private Members
Public Methods
public send(binary: Uint8Array) source
Send an OSC Packet, Bundle or Message to Websocket clients
Params:
Name | Type | Attribute | Description |
binary | Uint8Array | Binary representation of OSC Packet |