O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the Request/Response pattern

The HTTP protocol is based on a client/server architecture, where clients know what they want to do and request documents (or data or services) from a server. The client is active, the server is reactive. For this purpose, HTTP is built around a simple Request/Response mechanism. Clients connect to servers, pose their requests, and servers respond with one response per request. The connection can be dropped by any of the clients or servers:

Request/Response pattern in HTTP
Most HTTP servers today allow for multiple requests over the same connection to improve performance. This feature, called persistent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required