ktor icon indicating copy to clipboard operation
ktor copied to clipboard

Feature: Ktor websocket client with Stomp

Open guenhter opened this issue 7 years ago • 7 comments

Ktor Version

1.2.1

Ktor Engine Used(client or server and name)

client-websocket

JVM Version, Operating System and Relevant Context

Feedback

I tried to consume a websocket server with the ktor-client-websocket but it didn't work. It turned out, that the server uses Stomp. It would be nice to support Stomp for the Websocket Client as well here with Ktor. (I was forced to use Spring Websocket as client library).

guenhter avatar May 29 '19 10:05 guenhter

Hi @guenhter, thanks for the report. It would be nice feature.

e5l avatar May 30 '19 07:05 e5l

I can try implementing this

talham7391 avatar Jun 19 '19 02:06 talham7391

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Sep 24 '19 13:09 stale[bot]

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

oleg-larshin avatar Aug 10 '20 15:08 oleg-larshin

@joffrey-bion will it make sense to "merge" in some ways https://github.com/joffrey-bion/krossbow to ktor-client-websocket?

ArchangelX360 avatar Dec 24 '21 10:12 ArchangelX360

@ArchangelX360 Krossbow's STOMP client already supports Ktor as a possible web socket engine with krossbow-websocket-ktor, as mentioned in the YT issue.

It could be a possibility to merge the STOMP support with Ktor, but Krossbow supports more platforms at the moment (e.g. iOS), and other websocket implementations as well, such as Spring and SockJS. I'd be happy to contribute, though!

joffrey-bion avatar Dec 24 '21 11:12 joffrey-bion

is this still open? Just curious if I could take a jab at it

AncutaIoan avatar Jul 11 '25 20:07 AncutaIoan