esppy.windows.Publisher.send

Publisher.send(self, data)

Send data to the web socket

Parameters
datastring

The data to send

Examples

Create the publisher instance using CSV and an event rate of 200 events per millisecond.

>>> pub = Publisher(window, rate=200)

Send the CSV data.

>>> pub.send('1,2,3')