sendEmptyResult method

void sendEmptyResult (
  1. RequestContext req,
  2. ResponseContext res,
  3. dynamic err
)

Creates a function that sends an empty result with 204 status code. If error occur it sends ErrorDescription with approproate status code.

  • req a HTTP request object.
  • res a HTTP response object.