socket
Toggle table of contents
0.2.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
socket
socket
/
io.devconsole.socket
/
SocketLifecycleEvent
Socket
Lifecycle
Event
data
class
SocketLifecycleEvent
(
val
connectionId
:
String
,
val
type
:
SocketLifecycleType
,
val
timestampEpochMs
:
Long
,
val
code
:
Int
?
=
null
,
val
reason
:
String
?
=
null
,
val
error
:
String
?
=
null
)
Members
Constructors
Socket
Lifecycle
Event
Link copied to clipboard
constructor
(
connectionId
:
String
,
type
:
SocketLifecycleType
,
timestampEpochMs
:
Long
,
code
:
Int
?
=
null
,
reason
:
String
?
=
null
,
error
:
String
?
=
null
)
Properties
code
Link copied to clipboard
val
code
:
Int
?
connection
Id
Link copied to clipboard
val
connectionId
:
String
error
Link copied to clipboard
val
error
:
String
?
reason
Link copied to clipboard
val
reason
:
String
?
timestamp
Epoch
Ms
Link copied to clipboard
val
timestampEpochMs
:
Long
type
Link copied to clipboard
val
type
:
SocketLifecycleType