receiveResponse method

void receiveResponse(
  1. int status_code,
  2. IncomingMessage response, [
  3. void onSuccess()?,
  4. void onFailure()?,
])

Implementation

void receiveResponse(int status_code, IncomingMessage response,
    [void Function()? onSuccess, void Function()? onFailure]) {
  // default NO_OP implementation
}