function setResponsePredicate(pred) {
  this._responsePredicate = pred
}
Sets a function to call with the result of a middleware to determine if it has
responded.

@memberof WebFrameworkShim.prototype
@param {function(args, object): boolean} pred
 Function which should return true if the object passed to it is considered
 a response.