Interface IRequestStream<TRequest, TResponse>

The stream to receive request notifications.

Inherited Members
IStream.OnClose()
ICallback.OnError(ErrorReason)
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.

Back to top