close method

void close()

Cancel all ongoing requests

Implementation

void close() {
  _endpoint?.stop();
}