Esempio n. 1
0
 /// <summary>
 /// Invokes <see cref="MessageInterceptor.OnParsed{TResponse}"/> on the contained <see cref="Interceptors"/>.
 /// </summary>
 /// <typeparam name="TResponse">The type of the data contained by the JSend response.</typeparam>
 /// <param name="context">The contextual data associated with the parsing.</param>
 public override void OnParsed <TResponse>(ResponseParsedContext <TResponse> context)
 {
     foreach (var interceptor in Interceptors)
     {
         interceptor.OnParsed(context);
     }
 }
 /// <summary>
 /// Called by the <see cref="JSendClient"/> when a <see cref="HttpResponseMessage"/> is
 /// parsed into a <see cref="JSendResponse{T}"/>.
 /// </summary>
 /// <typeparam name="TResponse">The type of the data contained by the JSend response.</typeparam>
 /// <param name="context">The contextual data associated with the parsing.</param>
 public virtual void OnParsed <TResponse>(ResponseParsedContext <TResponse> context)
 {
 }