Type: string
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/earthscope/ringserver, supports websockets, but it may be possible to use third party tools to proxy the websocket to a TCP seedlink socket.
The seedlink (ver 3) protocol does not have an official spec document, but some details are here: https://www.seiscomp.de/doc/apps/seedlink.html
(any)
websocket URL to connect to
(any)
an array of seedlink commands
like:
[ 'STATION JSC CO',
'SELECT 00BHZ.D' ]
(any)
the callback function that
will be invoked for each seedlink packet received
which contains 'sequence', a sequence number
and 'miniseed', a single miniseed record.
(any)
(any)
(any)
(any)
(any)
(any)
Sends initial HELLO to server and waits for response.
any:
Promise that resolves to the response from the server.
Sends an array of commands, each as a Promise waiting for the 'OK' response before sending the next.
(any)
array of commands to send
any:
Promise that resolves to the 'OK' returned by the last
command if successful, or rejects on the first failure.
creates a Promise that sends a command and waits resolved with the result.
(any)
command string to send.
any:
Promise that resolves to the reply from the server.