heartbeat method

void heartbeat (
  1. RequestContext req,
  2. ResponseContext res
)