         let queuedSubscriptions = self.queuedSubscriptions
         self.queuedSubscriptions.removeAll()
         queuedSubscriptions.forEach { (_, connected: WebSocketConnected) in
-            connected(.success(true))
+            connected(.success(()))
         }
     }
     

import Starscream
import Alamofire

public typealias WebSocketConnected = (Result<Bool, Error>) -> Void

public protocol WebSocketClientDelegate: class {
    func didReceive(event: WebSocketEvent)

        let connectionCompletionBlock: WebSocketConnected = self.connectionCompletionBlock(subscriber: subscriber, responseHandler: responseHandler)
        
        guard self.state != .connected else {
            connectionCompletionBlock(.success(()))
            return subscriber
        }
        
