code: function route (message, cb) {
      assert(message, 'route requries a valid message')
      assert(cb && (typeof cb === 'function'), 'route requires a valid callback handler')
  
      if (message.pattern) {
        return pattern(message, cb)
      }
  
      if (message.response) {
        return response(message, cb)
      }
  
      malformed(message, cb)
    }
docs: main routing function