sendEmptyResult method

void sendEmptyResult (RequestContext req, ResponseContext res, 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.