Name
renewLease
Description
The
renewLease command instructs the relay server to
renew an existing lease. Messages queued under the existing lease
must be maintained for the renewed
lease.
Request
The query string variable that must be set by the client is:
-
leaseId Must be set to the lease ID of the existing lease
Response
The following query string variable must be included by the relay server in the response:
-
leaseId The ID for the new lease. This may be the same as the existing lease ID, or it may be different. If the request is malformed, the response must be
400. If the relay server rejects the request, the response must be400.
Example
The following listing shows an example
HTTP POST request body for the renewLease command:
command=renewLease&leaseId=1234
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