function getOutgoing(res) {
  // Pseudo API and Express API and Koa API
  if (typeof res.getOutgoing === "function") {
    return res.getOutgoing();
  }

  return res;
}
@template {ServerResponse & ExpectedServerResponse} Response
@param {Response} res res
@returns {Response} res res