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

import Starscream
import Alamofire

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

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

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