stop method
Stops the cache server.
Implementation
void stop(String? realUrl) {
// 保存缓存信息
_saveCacheInfo(realUrl);
try {
_server?.close(force: true);
} catch (e, s) {
log('failed to close cache proxy HttpServer.\n$e\n$s');
}
_started = false;
}