3.0.0-alpha.1
Type: string
Type: string
Type: string
Type: string
(string)
(string)
(number)
(bigint)
(string)
(ArrayBuffer)
SEPacket
Type: bigint
Type: (DataRecord | null)
Type: (MSeed3Record | null)
Type: (any | null)
Parsed payload as a miniseed data record, if the streamid ends with '/MSEED', null otherwise.
(miniseed.DataRecord | null)
:
miniseed DataRecord or null
Parsed payload as a miniseed3 data record, if the data format is 3, null otherwise.
(mseed3.MSeed3Record | null)
:
miniseed3 DataRecord or null
A seedlink websocket connection to the given url. The connection is not made until the connect() method is called. Note this cannot connect directly to a native TCP socket, instead it sends the seedlink protocol over a websocket. Currently only the IRIS ringserver, https://github.com/iris-edu/ringserver, supports websockets, but it may be possible to use thrid party tools to proxy the websocket to a TCP seedlink socket.
(string)
websocket URL to connect to
(function (packet: SEPacket): void)
the callback function that
will be invoked for each seedlink packet received.
(function (error: Error): void)
Type: (null | function (close: CloseEvent): void)
(DateTime)
(function (close: CloseEvent): void)
Promise<SeedlinkConnection>
void
(MessageEvent)
void
(MessageEvent)
void