<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Classes  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>
    
    <script src="js/lunr.min.js" defer></script>
    <script src="js/typeahead.jquery.js" defer></script>
    <script src="js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Section/Classes" class="dashAnchor"></a>
    <a title="Classes  Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="index.html">PusherSwift 9.2.2 Docs</a> (25% documented)</p>
        <p class="header-right"><a href="https://github.com/pusher/pusher-websocket-swift"><img src="img/gh.png"/>View on GitHub</a></p>
        <p class="header-right">
          <form role="search" action="search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="index.html">PusherSwift Reference</a>
        <img id="carat" src="img/carat.png" />
        Classes  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/GlobalChannel.html">GlobalChannel</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/OCAuthMethod.html">OCAuthMethod</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/OCPusherHost.html">OCPusherHost</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/Pusher.html">Pusher</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherAuth.html">PusherAuth</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherChannel.html">PusherChannel</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherChannels.html">PusherChannels</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherClientOptions.html">PusherClientOptions</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherConnection.html">PusherConnection</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherError.html">PusherError</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherEvent.html">PusherEvent</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherPresenceChannel.html">PusherPresenceChannel</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/PusherPresenceChannelMember.html">PusherPresenceChannelMember</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/AuthMethod.html">AuthMethod</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/ConnectionState.html">ConnectionState</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/PusherChannelType.html">PusherChannelType</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/PusherHost.html">PusherHost</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/AuthRequestBuilderProtocol.html">AuthRequestBuilderProtocol</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Authorizer.html">Authorizer</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/PusherDelegate.html">PusherDelegate</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs.html#/s:11PusherSwift12EventHandlerV">EventHandler</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/QueuedClientEvent.html">QueuedClientEvent</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:11PusherSwift0A14UserInfoObjecta">PusherUserInfoObject</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>Classes</h1>
            <p>The following classes are available globally.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherConnection"></a>
                    <a name="//apple_ref/swift/Class/PusherConnection" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherConnection">PusherConnection</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherConnection.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">PusherConnection</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">PusherConnection</span><span class="p">:</span> <span class="kt">WebSocketConnectionDelegate</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Services/PusherConnection.swift#L7-L933">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherAuth"></a>
                    <a name="//apple_ref/swift/Class/PusherAuth" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherAuth">PusherAuth</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherAuth.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="kt">PusherAuth</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherAuth.swift#L3-L13">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherChannel"></a>
                    <a name="//apple_ref/swift/Class/PusherChannel" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherChannel">PusherChannel</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherChannel.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">PusherChannel</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherChannel.swift#L4-L180">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherChannels"></a>
                    <a name="//apple_ref/swift/Class/PusherChannels" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherChannels">PusherChannels</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherChannels.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">PusherChannels</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherChannels.swift#L4-L129">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherClientOptions"></a>
                    <a name="//apple_ref/swift/Class/PusherClientOptions" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherClientOptions">PusherClientOptions</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherClientOptions.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="kt">PusherClientOptions</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherClientOptions.swift#L4-L33">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherError"></a>
                    <a name="//apple_ref/swift/Class/PusherError" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherError">PusherError</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherError.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">PusherError</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherError.swift#L4-L29">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherEvent"></a>
                    <a name="//apple_ref/swift/Class/PusherEvent" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherEvent">PusherEvent</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherEvent.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">PusherEvent</span> <span class="p">:</span> <span class="kt">NSObject</span><span class="p">,</span> <span class="kt">NSCopying</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherEvent.swift#L4-L88">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)GlobalChannel"></a>
                    <a name="//apple_ref/swift/Class/GlobalChannel" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)GlobalChannel">GlobalChannel</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/GlobalChannel.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">GlobalChannel</span> <span class="p">:</span> <span class="kt"><a href="Classes/PusherChannel.html">PusherChannel</a></span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherGlobalChannel.swift#L4-L85">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherPresenceChannel"></a>
                    <a name="//apple_ref/swift/Class/PusherPresenceChannel" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherPresenceChannel">PusherPresenceChannel</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherPresenceChannel.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">PusherPresenceChannel</span> <span class="p">:</span> <span class="kt"><a href="Classes/PusherChannel.html">PusherChannel</a></span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherPresenceChannel.swift#L6-L178">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)PusherPresenceChannelMember"></a>
                    <a name="//apple_ref/swift/Class/PusherPresenceChannelMember" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)PusherPresenceChannelMember">PusherPresenceChannelMember</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/PusherPresenceChannelMember.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="kt">PusherPresenceChannelMember</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/Models/PusherPresenceChannelMember.swift#L4-L12">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)OCAuthMethod"></a>
                    <a name="//apple_ref/swift/Class/OCAuthMethod" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)OCAuthMethod">OCAuthMethod</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/OCAuthMethod.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="kt">OCAuthMethod</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/ObjC/OCAuthMethod.swift#L4-L34">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)OCPusherHost"></a>
                    <a name="//apple_ref/swift/Class/OCPusherHost" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)OCPusherHost">OCPusherHost</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/OCPusherHost.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="kt">OCPusherHost</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/ObjC/OCPusherHost.swift#L4-L22">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@PusherSwift@objc(cs)Pusher"></a>
                    <a name="//apple_ref/swift/Class/Pusher" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@PusherSwift@objc(cs)Pusher">Pusher</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/Pusher.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objcMembers</span>
<span class="kd">@objc</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">Pusher</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/pusher/pusher-websocket-swift/tree/9.2.2/Sources/PusherSwift.swift#L10-L172">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2021 <a class="link" href="https://pusher.com" target="_blank" rel="external">Pusher</a>. All rights reserved. (Last updated: 2021-07-07)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
