Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
API, API and more API. And do not forget about security (tokens, all that)
I strongly recommend that everything that walks through the Internet should be wrapped via http (including websocket), of course it is better with encryption (https), there will be less hemorrhoids, since providers (Russia), and more often mobile ones, diligently slow down or even block other traffic (for example, p2p is almost completely killed, even webrtc needs magic to use).
Or rather, the traffic that the provider’s DPI does not understand can be severely limited or even broken (they climb with crooked hands where they don’t follow), so don’t invent a locomotive.
On the basis of http, take either ready-made frameworks and serializers or invent your own. Popular directions, use json, xml, and if binary, then Protobuf (generally a universal thing). For any of the given examples, there are libraries in java.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question