SharedWorkerTarget

Represents the available domain APIs in SharedWorker targets.

The subset of domains available for this target type is not strictly defined by the protocol. The subset provided in this interface is guaranteed to work on this target type. However, some domains might be missing in this interface while being effectively supported by the target. If this is the case, you can always use the AllDomainsTarget interface instead.

This interface is generated to match the latest Chrome DevToolsProtocol definitions. It is not stable for inheritance, as new properties can be added without major version bump when the protocol changes. It is however safe to use all non-experimental and non-deprecated domains defined here. The experimental and deprecation cycles of the protocol are reflected in this interface with the same guarantees.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val fetch: FetchDomain

A domain for letting clients substitute browser's network layer with client code.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
abstract val io: IODomain

Input/Output operations for streams produced by DevTools.

Link copied to clipboard
abstract val network: NetworkDomain

Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.

Link copied to clipboard
abstract val schema: SchemaDomain

This domain is deprecated.

Link copied to clipboard
abstract val target: TargetDomain

Supports additional targets discovery and allows to attach to them.