class ServiceWorkerOperations
(source)
ServiceWorkerOperations represents ServiceWorker protocol domain request/response operations and events that can be captured.
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol ServiceWorker domain documentation.
fun deliverPushMessage(input: DeliverPushMessageRequest): Single<ResponseFrame> |
|
fun disable(): Single<ResponseFrame> |
|
fun dispatchPeriodicSyncEvent(input: DispatchPeriodicSyncEventRequest): Single<ResponseFrame> |
|
fun dispatchSyncEvent(input: DispatchSyncEventRequest): Single<ResponseFrame> |
|
fun enable(): Single<ResponseFrame> |
|
fun events(): Flowable<Event>
Returns flowable capturing all ServiceWorker domains events. |
|
fun inspectWorker(input: InspectWorkerRequest): Single<ResponseFrame> |
|
fun setForceUpdateOnPageLoad(input: SetForceUpdateOnPageLoadRequest): Single<ResponseFrame> |
|
fun skipWaiting(input: SkipWaitingRequest): Single<ResponseFrame> |
|
fun startWorker(input: StartWorkerRequest): Single<ResponseFrame> |
|
fun stopAllWorkers(): Single<ResponseFrame> |
|
fun stopWorker(input: StopWorkerRequest): Single<ResponseFrame> |
|
fun unregister(input: UnregisterRequest): Single<ResponseFrame> |
|
fun updateRegistration(input: UpdateRegistrationRequest): Single<ResponseFrame> |
|
fun workerErrorReported(): Flowable<WorkerErrorReportedEvent>
Returns observable capturing all ServiceWorker.workerErrorReported events. |
|
fun workerErrorReportedTimed(): Flowable<Timed<WorkerErrorReportedEvent>>
Returns observable capturing all ServiceWorker.workerErrorReported events. |
|
fun workerRegistrationUpdated(): Flowable<WorkerRegistrationUpdatedEvent>
Returns observable capturing all ServiceWorker.workerRegistrationUpdated events. |
|
fun workerRegistrationUpdatedTimed(): Flowable<Timed<WorkerRegistrationUpdatedEvent>>
Returns observable capturing all ServiceWorker.workerRegistrationUpdated events. |
|
fun workerVersionUpdated(): Flowable<WorkerVersionUpdatedEvent>
Returns observable capturing all ServiceWorker.workerVersionUpdated events. |
|
fun workerVersionUpdatedTimed(): Flowable<Timed<WorkerVersionUpdatedEvent>>
Returns observable capturing all ServiceWorker.workerVersionUpdated events. |