| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <title>BaseClient Class 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 type="text/javascript"> |
| window.jazzy = {'docset': false} |
| if (typeof window.dash != 'undefined') { |
| document.documentElement.className += ' dash' |
| window.jazzy.docset = true |
| } |
| if (navigator.userAgent.match(/xcode/i)) { |
| document.documentElement.className += ' xcode' |
| window.jazzy.docset = true |
| } |
| </script> |
| <script src="../js/jquery.min.js" defer></script> |
| <script src="../js/jazzy.js" defer></script> |
| </head> |
| <body id="reference" class="Swift"> |
| <a name="//apple_ref/swift/Class/BaseClient" class="dashAnchor"></a> |
| <a title="BaseClient Class Reference"></a> |
| <header> |
| <div class="content-wrapper"> |
| <p class="header-text"><a href="../index.html">PredictionIO Swift SDK Docs</a> (96% documented)</p> |
| <p id="header-links"><a href="https://github.com/minhtule/PredictionIO-iOS-SDK"><img id="header-icon" src="../img/gh.png" height="16px" width="16px" />View on GitHub</a></p> |
| </div> |
| </header> |
| <section id="valence"> |
| <div class="content-wrapper"> |
| <p id="hierarchial_navigation"> |
| <a href="../index.html" id="design_resources_link">PredictionIO Swift SDK Reference</a> |
| <img id="carat" src="../img/carat.png" height="10px" width="6px" /> |
| BaseClient Class Reference |
| </p> |
| </div> |
| </section> |
| <div class="content-wrapper"> |
| <nav class="book-parts"> |
| <ul class="nav-parts"> |
| <li class="part-name tasks"> |
| <a href="../Classes.html">Classes</a> |
| <ul class="nav-chapters"> |
| <li class="nav-chapter"> |
| <a href="../Classes/BaseClient.html">BaseClient</a> |
| </li> |
| <li class="nav-chapter"> |
| <a href="../Classes/EngineClient.html">EngineClient</a> |
| </li> |
| <li class="nav-chapter"> |
| <a href="../Classes/EventClient.html">EventClient</a> |
| </li> |
| <li class="nav-chapter"> |
| <a href="../Classes.html#/s:C15PredictionIOSDK7Manager">Manager</a> |
| </li> |
| </ul> |
| </li> |
| <li class="part-name tasks"> |
| <a href="../Extensions.html">Extensions</a> |
| <ul class="nav-chapters"> |
| <li class="nav-chapter"> |
| <a href="../Extensions/EventClient.html">EventClient</a> |
| </li> |
| </li> |
| </ul> |
| </li> |
| <li class="part-name tasks"> |
| <a href="../Structs.html">Structs</a> |
| <ul class="nav-chapters"> |
| <li class="nav-chapter"> |
| <a href="../Structs/Event.html">Event</a> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </nav> |
| <div class="pixel-line"></div> |
| <div class="rubber-band-gap"></div> |
| <article class="chapter"> |
| <a name="/"></a> |
| <h1 class="chapter-name">BaseClient</h1> |
| <section> |
| <section class="section"> |
| <p class="para">Base client that manages network connections with the server.</p> |
| </section> |
| <section class="section task-group-section"> |
| <div class="task-group"> |
| <div class="task-name-container"> |
| |
| <a name="/Constructors"></a> |
| <a name="//apple_ref/swift/Section/Constructors" class="dashAnchor"></a> |
| <a href="#/Constructors"> |
| <h3 class="section-name">Constructors</h3> |
| </a> |
| |
| </div> |
| <ul class="task-group-list"> |
| <li class="item symbol"> |
| <div class="task-group-term"> |
| <code> |
| <a name="/s:FC15PredictionIOSDK10BaseClientcFMS0_FT7baseURLSS7timeoutSd_S0_"> |
| <a name="//apple_ref/swift/Method/init(baseURL:timeout:)" class="dashAnchor"></a> |
| <a class="x-instance-method Swift" href="#/s:FC15PredictionIOSDK10BaseClientcFMS0_FT7baseURLSS7timeoutSd_S0_">init(baseURL:timeout:)</a> |
| </code> |
| </div> |
| <div class="height-container"> |
| <div class="pointy-thing-container"></div> |
| <section class="section instance-method"> |
| <div class="pointy-thing"></div> |
| <div class="abstract"> |
| |
| </div> |
| <div class="declaration"> |
| <h4>Declaration</h4> |
| |
| <div class="Swift"> |
| <p class="aside-title">Swift</p> |
| <pre class="highlight"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">baseURL</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">timeout</span><span class="p">:</span> <span class="kt">NSTimeInterval</span><span class="p">)</span></code></pre> |
| |
| </div> |
| </div> |
| <div class="parameters"> |
| <h4>Parameters</h4> |
| <table class="graybox" border="0" cellspacing="0" cellpadding="5"> |
| <tbody> |
| <tr> |
| <td scope="row"> |
| <code> |
| <em class="term">baseURL</em> |
| </code> |
| </td> |
| <td> |
| <div class="definition"> |
| <p class="para">The base URL</p> |
| </div> |
| </td> |
| </tr> |
| <tr> |
| <td scope="row"> |
| <code> |
| <em class="term">timeout</em> |
| </code> |
| </td> |
| <td> |
| <div class="definition"> |
| <p class="para">The request timeout</p> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </div> |
| </li> |
| </ul> |
| </div> |
| </section> |
| </section> |
| <section id="footer"> |
| <p class="copyright">© 2015 <a class="link" href="https://github.com/minhtule" target="_blank" rel="external">Minh-Tu Le</a>. All rights reserved. (Last updated: 2015-03-03)</p> |
| <p class="copyright">Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.1.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p> |
| </section> |
| </article> |
| </div> |
| </body> |
| </div> |
| </html> |