gotify/go-api-client

How to use the WebSocket

Ondolin opened this issue · 2 comments

I am failing on figuring out how to use the WebSocket for receiving messages. Is there an example code?

The stream endpoint is not included inside the api client because it is not definable via the swagger 2.0 specification. You can use any websocket client library to connect to the /stream endpoint with a client token.

OK, thank you for this clarification.