Client <> server back and forth communicatio...
# squarelibraries
c
Client <> server back and forth communication question: My team is implementing a fairly small chat feature (lol. this is gonna explode into a headache of a feature set... i just know it) but no one on my team has really had any sort of experience with back and forth comms with the server while the app is open and foregrounded. We have a pretty rudimentary polling impl right now and it works well, but we're exploring using websockets (which I can use okhttp for that from what it seems), but it also seems like http2 supports server <> client comms (which okhttp advertises as being http/2 compatible). I guess my general question is, are there any square goodies that help with client <> server comms, or is basically
wss
the way to go?