Hey guys, when developing chats, do people roll th...
# random
u
Hey guys, when developing chats, do people roll their own websocket and stuff or is there go-to library? Im new to the domain
d
ktor is a Kotlin-based web server framework, and it supports websockets, so probably something like that, or something similar on the Java side.
t
@ursus "no one" rolls their own, most people use spring (according to most surveys), but most libraries/frameworks have websocket support
are you doing kotlin to kotlin chat, or a javascript chat with a kotlin backend?
u
app to app
right so abstraction is on top of websocket but not a chatting solution right?
t
oh yeah, the actual chat logic is usually something you'll end up writing yourself
i think scarlet (https://github.com/Tinder/Scarlet) is the most popular websocket client for android, but i'm not an android dev, so i don't really know
u
right yea, i was thinking more from backend, thanks
t
then spring is the most commonly used framework
u
thx