g'>Where do I keep my network requests?</h2>

<p>Swifty offers a protocol called <code><a href="Protocols/WebService.html">WebService</a></code> which helps you write your network requests in a type-safe and expressive way. </p>

<p>You start by <strong>creating a class</strong>, putting in your <strong>server&rsquo;s base URL</strong> &amp; a network interface, and begin writing your <strong>network requests as functions</strong>:</p>
<pre class="highlight swift"><code><span class="kd">class</span> <span c