Interface IRequestStream<TRequest, TResponse>
- Namespace
- PushTechnology.ClientInterface.Client.Features
- Assembly
- Diffusion.Client.dll
The stream to receive request notifications.
public interface IRequestStream<TRequest, TResponse> : IStream, ICallback
Type Parameters
TRequestThe request type.
TResponseThe response type.
- Inherited Members
Remarks
Since 6.1
Methods
OnRequest(string, TRequest, IResponder<TResponse>)
Called on incoming request.
void OnRequest(string path, TRequest request, IResponder<TResponse> responder)
Parameters
pathstringMessage path.
requestTRequestRequest value.
responderIResponder<TResponse>Responder for the message.