Interface IFilteredRequestCallback<TResponse>
- Namespace
- PushTechnology.ClientInterface.Client.Features
- Assembly
- Diffusion.Client.dll
The callback interface for responses to requests sent to a filter.
public interface IFilteredRequestCallback<TResponse>
Type Parameters
TResponseThe type of the response.
Remarks
Since 6.1
Methods
OnResponse(ISessionId, TResponse)
Called when a response has been received.
void OnResponse(ISessionId sessionId, TResponse response)
Parameters
sessionIdISessionIdThe session identifier of the session that has sent the response.
responseTResponseThe response.
OnResponseError(ISessionId, Exception)
Called upon a response error from the session.
void OnResponseError(ISessionId sessionId, Exception exception)
Parameters
sessionIdISessionIdThe session identifier of the session that has sent the response.
exceptionExceptionThe exception for the error result.