RequestHandler class
Implemented by classes used to process incoming streaming requests sent over an IStreamingTransport.
Methods
process |
The method that must be implemented in order to handle incoming requests. |
Method Details
processRequest(IReceiveRequest)
The method that must be implemented in order to handle incoming requests.
function processRequest(request: IReceiveRequest): Promise<StreamingResponse>
Parameters
- request
- IReceiveRequest
A receipt request for this handler to process.
Returns
Promise<StreamingResponse>
A promise that will produce a streaming response on successful completion.