def add_subscription(topic, klass, options=nil)
      options ||= {}
      raise WampRails::Error.new('"add_subscription" must be called BEFORE "open"') if self.thread
      self.subscriptions << WampRails::Command::Subscribe.new(topic, klass, options, self)
    end
def add_subscription(topic, klass, options=nil)
      options ||= {}
      raise WampRails::Error.new('"add_subscription" must be called BEFORE "open"') if self.thread
      self.subscriptions << WampRails::Command::Subscribe.new(topic, klass, options, self)
    end
Adds a subscription to the client