pl.wendigo.chrome.api.tracing / StartRequest

StartRequest

data class StartRequest (source)

Represents request frame that can be used with Tracing#start operation call.

Start trace events collection.

Link
Tracing#start method documentation.

See Also

TracingOperations.start

Constructors

<init>

StartRequest(categories: String? = null, options: String? = null, bufferUsageReportingInterval: Double? = null, transferMode: String? = null, streamFormat: StreamFormat? = null, streamCompression: StreamCompression? = null, traceConfig: TraceConfig? = null)

Represents request frame that can be used with Tracing#start operation call.

Properties

bufferUsageReportingInterval

val bufferUsageReportingInterval: Double?

If set, the agent will issue bufferUsage events at this interval, specified in milliseconds

categories

val categories: String?

Category/tag filter

options

val options: String?

Tracing options

streamCompression

val streamCompression: StreamCompression?

Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none)

streamFormat

val streamFormat: StreamFormat?

Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json).

traceConfig

val traceConfig: TraceConfig?

transferMode

val transferMode: String?

Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents).