3.1.4
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
(string)
(string)
(number)
(bigint)
(string)
(ArrayBuffer)
SEPacket
Type: bigint
Type: (DataRecord | null)
Type: (MSeed3Record | 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.
The spec is available via the FDSN, https://www.fdsn.org/publications/
Note as of 2023, this is largely untested as there are now servers available to test against.
(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)
callback function for errors
(any)
callback function for closing connection
(any)
optional web socket connection
(any)
handshake ending command, either END or ENDFETCH
(any)
agent identifier
(any)
agent version
Type: (null | function (close: CloseEvent): void)
(function (close: CloseEvent): void)
Promise<SeedlinkConnection>
void
(MessageEvent)
void
(MessageEvent)
void