krossbow
krossbow copied to clipboard
A Kotlin multiplatform coroutine-based STOMP client over websockets, with built-in conversions.
**Problem/use case that this feature is meant to solve/enable** Dear Joffrey, These days, I found that server side send stomp error frame even though stomp client(krossbow) does send messages(not heartbeat)....
We could provide a `StompClient()` factory function without `WebSocketClient` argument, which would discover an implementation automatically the same way `ServiceLoader` does on the JVM. Ktor's `HttpClient()` factory function uses a...
This fixes a crash in `DarwinWebSocketClient` when using the old memory model. The project I'm working on is still using the old memory model and I kept crashing upon initiating...
The interface currently guarantees that it's ok to collect multiple times the `incomingFrames`, as the frames that arrive in the meantime are buffered and not lost. However, this means that...
Failure during `Jdk11WebSocketClientAutobahnTest`, possible race? ``` Unexpected exception during test case 1.2.3: Output closed Caused by: java.io.IOException: Output closed at jdk.internal.net.http.websocket.MessageEncoder.encodeBinary(MessageEncoder.java:233) at jdk.internal.net.http.websocket.TransportImpl$SendTask$1.onBinary(TransportImpl.java:380) at jdk.internal.net.http.websocket.TransportImpl$SendTask$1.onBinary(TransportImpl.java:361) at jdk.internal.net.http.websocket.MessageQueue.peek(MessageQueue.java:240) at jdk.internal.net.http.websocket.TransportImpl$SendTask.run(TransportImpl.java:549) at...
The Autobahn test server is run using their docker image at the moment. It is started via docker-compose during the Gradle build. Because Github Actions macOS and windows runners don't...
Blocked by https://github.com/joffrey-bion/krossbow/issues/224 - requires Okio >= 3.1.0, but 3.1.0 isn't compatible with non-hierarchical projects (https://github.com/square/okio/issues/1117) ~~Blocked by https://github.com/benasher44/uuid/issues/123 - I made a pull request to add the target: https://github.com/benasher44/uuid/pull/124~~...
Do you have any examples how to implement auto reconnect feature ?
Based on [this slack conversation](https://kotlinlang.slack.com/archives/C3PQML5NU/p1588100289209000), there should be a way to define an Android target (making use of the Android toolchain) in the build, so that using incompatible JVM dependencies...