testagain
This commit is contained in:
parent
4e88a096f7
commit
f919b9ac5b
@ -185,4 +185,4 @@ trap cleanup EXIT INT TERM
|
||||
SUBSCRIPTION_MSG=$(create_subscription_message)
|
||||
|
||||
# Connect to websocket and send subscription message
|
||||
echo "$SUBSCRIPTION_MSG" | websocat -n --text - -H "Sec-WebSocket-Protocol: json" -v autoreconnect:"$WEBSOCKET_URL" | process_message
|
||||
echo "$SUBSCRIPTION_MSG" | websocat --ping-interval 10 -n --text -H "Sec-WebSocket-Protocol: json" -v "$WEBSOCKET_URL" | process_message
|
||||
|
||||
1
subscription.json
Normal file
1
subscription.json
Normal file
@ -0,0 +1 @@
|
||||
{"APIKey":"8d32f42f3d7fa506ed5ed549d29279580b99303b","BoundingBoxes":[[[-90,-180],[90,180]]],"FiltersShipMMSI":["227397210"]}
|
||||
Loading…
x
Reference in New Issue
Block a user