Interface IResponder<TResponse>
Responder interface to dispatch responses to requests.
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IResponder<TResponse>
Type Parameters
Name | Description |
---|---|
TResponse | The response type. |
Remarks
Since 6.1
Methods
Reject(String)
Rejects the request.
Declaration
void Reject(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | Context message to be contained in the rejection. |
Respond(TResponse)
Dispatches a response to a request.
Declaration
void Respond(TResponse response)
Parameters
Type | Name | Description |
---|---|---|
TResponse | response | Response to dispatch. |