chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network.events / NetworkEvent / ResponseReceivedEvent

ResponseReceivedEvent

data class ResponseReceivedEvent : NetworkEvent

Fired when HTTP response is available.

Official doc

Constructors

<init>

Fired when HTTP response is available.

ResponseReceivedEvent(requestId: RequestId, loaderId: LoaderId, timestamp: MonotonicTime, type: ResourceType, response: Response, frameId: FrameId? = null)

Properties

frameId

Frame identifier.

val frameId: FrameId?

loaderId

Loader identifier. Empty string if the request is fetched from worker.

val loaderId: LoaderId

requestId

Request identifier.

val requestId: RequestId

response

Response data.

val response: Response

timestamp

Timestamp.

val timestamp: MonotonicTime

type

Resource type.

val type: ResourceType