<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Interceptors on Stefan&#39;s Blog</title>
    <link>https://sstoichev.eu/tags/interceptors/</link>
    <description>Recent content in Interceptors on Stefan&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Wed, 08 Jul 2020 09:00:00 +0000</lastBuildDate>
    <atom:link href="https://sstoichev.eu/tags/interceptors/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>enigma.js - interceptors</title>
      <link>https://sstoichev.eu/post/enigma-js-interceptors/</link>
      <pubDate>Wed, 08 Jul 2020 09:00:00 +0000</pubDate>
      <guid>https://sstoichev.eu/post/enigma-js-interceptors/</guid>
      <description>&lt;p&gt;Another interesting feature of enigma.js are interceptors. Interceptors are similar to the mixins functions but they are executed on lower level - request/response level.&lt;/p&gt;
&lt;p&gt;Request interceptors are invoked right before the request is send to the Engine and response interceptors are invoked right after the response from the Engine is received and before the data is send to the calling function.&lt;/p&gt;
&lt;p&gt;You can think of the interceptors as &amp;ldquo;enigma.js middleware&amp;rdquo;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
