What kind of protocols do mobile strategy games use to communicate with the server?

I’m mainly talking about non real time games like clash of clans or kingdoms of camelot.

When a user commits to an action, are these actions committed using http or something like sockets? I mainly come from a web background so my understanding of this may be way off. Is the connection between a client and a server even valid?

Any help is much appreciated.

It’s done with sockets. Serialized streams and RPCs are made to the client and it fires a specific action.

I’m Web as well. Have a look at Photon’s multi-player server. It is client(s) and server. Although with Photon, the “master” is the first client that connects. All others connect to that master. If the first client master disconnects, another picks up the master title. It’s not an authoritative server.