I see from the docs that kRPC uses websockets, and it doesn't seem to have an http fallback. Is there any need for / has anyone considered an http fallback transport that uses SSE or long-polling for the
KrpcTransport.receive
?
a
Alexander Sysoev
02/18/2025, 12:18 PM
Hi!
Would be good indeed to have one. I may be added later
I'm also very interested in this, not so much as a fallback but as an alternative to begin with. websockets are sometimes difficult to deal with.
grpc is also based on http/2 for example
r
rocketraman
02/19/2025, 3:13 PM
Kotlinx-rpc has experimental support for gRPC as a protocol, so if you want to use gRPC over HTTP/2 you'd just use that protocol instead.
My request is specifically for kRPC, which is kotlinx-rpc's own protocol.
s
S.
02/19/2025, 3:19 PM
yes, as I've just said, I'd like to see krpc over http/2 in a similar fashion