an><span class="nf">responseValidation</span><span class="p">())</span> <span class="c1">// Now this response will invoke the failureBlock, instead of the successBlock of the caller.</span>
        <span class="p">}</span>

        <span class="k">return</span> <span class="n">response</span>
    <span class="p">}</span>

<span class="p">}</span>
</code></pre>
<h4 id='things-to-note-about-interceptors' class='heading'>Things to note about Interceptors:</h4>

<ul>
<li>Each of your network requests pass throu