com.hubspot.chrome.devtools.client.core.network.WebSocketFrameSentEvent Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
/**
* Fired when WebSocket frame is sent.
*/
public final class WebSocketFrameSentEvent extends Event {
private RequestId requestId;
private MonotonicTime timestamp;
private WebSocketFrame response;
@JsonCreator
public WebSocketFrameSentEvent(@JsonProperty("requestId") RequestId requestId,
@JsonProperty("timestamp") MonotonicTime timestamp,
@JsonProperty("response") WebSocketFrame response) {
this.requestId = requestId;
this.timestamp = timestamp;
this.response = response;
}
public RequestId getRequestId() {
return requestId;
}
public MonotonicTime getTimestamp() {
return timestamp;
}
public WebSocketFrame getResponse() {
return response;
}
}