WebSocketCreatedEvent

data class WebSocketCreatedEvent(requestId: RequestId, url: String, initiator: Initiator?) : Event

Fired upon WebSocket creation.

Constructors

WebSocketCreatedEvent
Link copied to clipboard
fun WebSocketCreatedEvent(requestId: RequestId, url: String, initiator: Initiator? = null)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

initiator
Link copied to clipboard
val initiator: Initiator? = null
Request initiator.
requestId
Link copied to clipboard
val requestId: RequestId
Request identifier.
url
Link copied to clipboard
val url: String
WebSocket request URL.

Sources

jvm source
Link copied to clipboard