Name
Message Relay
Description
The Message Relay Protocol allows clients to use a relay server for receiving messages on the client’s behalf. The relay server implements a simple lease-based protocol that allows a client to lease the relay services from the relay server. The relay server accepts the following four commands in a query string over HTTP POST:
-
obtainLease Client requests a new lease with the relay server
-
renewLease Client requests to renew an existing lease with the relay server
-
block Client requests to stay connected while waiting for a message on the relay server
-
poll Client requests to receive a queued message
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access