def add_procedure(procedure, klass, options=nil)
      options ||= {}
      raise WampRails::Error.new('"add_procedure" must be called BEFORE "open"') if self.thread
      self.registrations << WampRails::Command::Register.new(procedure, klass, options, self)
    end
def add_procedure(procedure, klass, options=nil)
      options ||= {}
      raise WampRails::Error.new('"add_procedure" must be called BEFORE "open"') if self.thread
      self.registrations << WampRails::Command::Register.new(procedure, klass, options, self)
    end
Adds a procedure to the client