<!DOCTYPE html>
<html lang="en">
  <head>
    <title>HTTPMethod Enumeration Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Enum/HTTPMethod" class="dashAnchor"></a>
    <a title="HTTPMethod Enumeration Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">APIManager 0.4.0 Docs</a> (100% documented)</p>
        <p class="header-right"><a href="https://github.com/rauhul/api-manager"><img src="../img/gh.png"/>View on GitHub</a></p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">APIManager Reference</a>
        <img id="carat" src="../img/carat.png" />
        HTTPMethod Enumeration Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/APIRequest.html">APIRequest</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/APIRequestError.html">APIRequestError</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/APIRequestState.html">APIRequestState</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/HTTPMethod.html">HTTPMethod</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/Dictionary.html">Dictionary</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/OperationQueue.html">OperationQueue</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/APIAuthorization.html">APIAuthorization</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/APIReturnable.html">APIReturnable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/APIService.html">APIService</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:10APIManager8HTTPBodya">HTTPBody</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:10APIManager11HTTPCookiesa">HTTPCookies</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:10APIManager11HTTPHeadersa">HTTPHeaders</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:10APIManager14HTTPParametersa">HTTPParameters</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>HTTPMethod</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">HTTPMethod</span> <span class="p">:</span> <span class="kt">String</span></code></pre>

                </div>
              </div>
            <p>Enumeration of available HTTP methods.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO3GETyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/GET" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO3GETyA2CmF">GET</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The GET method requests a representation of the specified resource.
Requests using GET should only retrieve data.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">GET</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO4HEADyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/HEAD" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO4HEADyA2CmF">HEAD</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The HEAD method asks for a response identical to that of a GET request,
but without the response body.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">HEAD</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO4POSTyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/POST" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO4POSTyA2CmF">POST</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The POST method is used to submit an entity to the specified resource,
often causing a change in state or side effects on the server.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">POST</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO3PUTyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/PUT" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO3PUTyA2CmF">PUT</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The PUT method replaces all current representations of the target
resource with the request payload.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">PUT</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO6DELETEyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/DELETE" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO6DELETEyA2CmF">DELETE</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The DELETE method deletes the specified resource.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">DELETE</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO7OPTIONSyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/OPTIONS" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO7OPTIONSyA2CmF">OPTIONS</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The OPTIONS method is used to describe the communication options for the
target resource.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">OPTIONS</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:10APIManager10HTTPMethodO5PATCHyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/PATCH" class="dashAnchor"></a>
                    <a class="token" href="#/s:10APIManager10HTTPMethodO5PATCHyA2CmF">PATCH</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The PATCH method is used to apply partial modifications to a resource.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="kt">PATCH</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2020 <a class="link" href="https://rauhul.me" target="_blank" rel="external">rauhul</a>. All rights reserved. (Last updated: 2020-01-04)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
