Replies: 1 comment 5 replies
-
Hi! Thanks for reaching out. Given that you're getting an HTTP 400, it should be a problem in your initial connection request. There is a chance this is due to the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @joffrey-bion
I am trying to implement the Stomp client web socket utilising krossbow in KMM so that it can work on both iOS and Android
I have gone through the documentation but couldn't get much details like there is no sample implementation or some thing that i can refere for the sample implementation
i have implemented the following thing in the KMM and trying to access it from iOSMainApp
but am not able to establish the connection and getting following error
Uncaught Kotlin exception: org.hildan.krossbow.websocket.WebSocketConnectionException: Couldn't connect to web socket at https://abcd.com/websocketApp/websocket (io.ktor.client.call.NoTransformationFoundException: Expected response body of the type 'class io.ktor.client.plugins.websocket.DefaultClientWebSocketSession' but was 'class io.ktor.utils.io.ByteChannelNative'
In response from
https://abcd.com/websocketApp/websocket
Response status
400 Bad Request
Response header
ContentType: null
Request header
Accept: */*
i have added the dependencies as followed in commonMain
quick and use full response is very much appreciated!
thanks
Beta Was this translation helpful? Give feedback.
All reactions