Open-EO / openeo-js-client

JavaScript and TypeScript client for the openEO API.
https://open-eo.github.io/openeo-js-client/latest/
Apache License 2.0
15 stars 6 forks source link

Implement connection upgrade to WebSocket #4

Closed m-mohr closed 5 years ago

m-mohr commented 5 years ago

Using the WebSocket constructor is by far the simplest method to do this, but it doesn't provide a way to change the request method from GET to POST (one can only specify the URL and a list of subprotocols, see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket). Regardless, I used this handy automatic way for now.