Пример #1
0
 /// <summary>
 /// Invokes <see cref="MessageInterceptor.OnReceived"/> on the contained <see cref="Interceptors"/>.
 /// </summary>
 /// <param name="context">The contextual data associated with the HTTP response message.</param>
 public override void OnReceived(ResponseReceivedContext context)
 {
     foreach (var interceptor in Interceptors)
     {
         interceptor.OnReceived(context);
     }
 }
Пример #2
0
 /// <summary>
 /// Called by the <see cref="JSendClient"/> when a <see cref="HttpResponseMessage"/> is received.
 /// </summary>
 /// <param name="context">The contextual data associated with the HTTP response message.</param>
 public virtual void OnReceived(ResponseReceivedContext context)
 {
 }