Chapter 2. HTTP: You are the client, and you are the boss
HTTP (HyperText Transfer Protocol) is the “language” in which the client and the server of a web application speak to each other. It was initially defined in 1996, and the simplicity and versatility of its design are, to an extent, responsible for the success and expansion of the web and the Internet as a whole.
Although it is still valid in traditional web scenarios, there are others, such as real-time applications or services, for which it is quite limited.
An HTTP operation is based on a request-response schema, which is always started by the client. This procedure is often referred to as the pull model: When a client needs to access a resource hosted by a server, it ...