InterceptionStage

@Serializable(with = InterceptionStageSerializer::class)
sealed interface InterceptionStage

Stages of the interception to begin intercepting. Request will intercept before the request is sent. Response will intercept after the response is received.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = InterceptionStageSerializer::class)
data object HeadersReceived : InterceptionStage
Link copied to clipboard
@Serializable(with = InterceptionStageSerializer::class)
data class NotDefinedInProtocol(val value: String) : InterceptionStage

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = InterceptionStageSerializer::class)
data object Request : InterceptionStage