A request consumed by a service.
Acknowledge the request. Used for SEND requests
a Promise that completes once the ack is sent
Get the request body.
the request body
Reply to the request with and error.
the error to send
a Promise that completes once the error is sent
Send the topic where the requester should listen to get notifications. Used for OBSERVE requests. The string returned by the Promise is the id of that subscription. It can be used in parallel with the Service.setUnsubscriptionHandler method of the service to execute instructions when a subscription is removed.
the topic where the client should
a Promise that completes once the consumer has started to the listen to notifications. The
Send a reply to the request with a content payload. Used for GET requests
the payload of the reply
a Promise that completes once the reply is sent
Return the type of this Service Request
the type of this request.
Get the requesting client’s user tag.
the user tag