HTTPResponse.fromServiceWorker() 方法
🌐 HTTPResponse.fromServiceWorker() method
如果响应是由服务工作进程提供的,则为 true。
🌐 True if the response was served by a service worker.
语法
🌐 Signature
class HTTPResponse {
abstract fromServiceWorker(): boolean;
}
返回:
boolean
🌐 HTTPResponse.fromServiceWorker() method
如果响应是由服务工作进程提供的,则为 true。
🌐 True if the response was served by a service worker.
🌐 Signature
class HTTPResponse {
abstract fromServiceWorker(): boolean;
}
返回:
boolean