<< doc SIO client siogetvariable >>

sioemit


Emit an event to web client.


Syntax


sioemit(name, message)
sioemit(name)

Input argument


name

a string: event name

message

a string: message to emit

Description


sioemit emits an event to client.

Example


sioemit('event_demo', jsonencode(eye(3,3)))

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< doc SIO client siogetvariable >>