Interface IRequestStream<TRequest, TResponse>
The stream to receive request notifications.
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IRequestStream<TRequest, TResponse> : IStream, ICallback
Type Parameters
| Name | Description |
|---|---|
| TRequest | The request type. |
| TResponse | The response type. |
Remarks
Since 6.1
Methods
OnRequest(String, TRequest, IResponder<TResponse>)
Called on incoming request.
Declaration
void OnRequest(string path, TRequest request, IResponder<TResponse> responder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path | Message path. |
| TRequest | request | Request value. |
| IResponder<TResponse> | responder | Responder for the message. |