Websocket

data class Websocket(type: Websocket.Type?, contentId: Long?, count: Int?, id: Long?, state: Int?, userHash: String?)

Parameters

type

тип события

contentId

id статьи

count
id

id контента

state
userHash

хэш пользователя, для сравнения с авторизованным

Constructors

Link copied to clipboard
fun Websocket(type: Websocket.Type? = null, contentId: Long? = null, count: Int? = null, id: Long? = null, state: Int? = null, userHash: String? = null)

Types

Link copied to clipboard
enum Type : Enum<Websocket.Type>

тип события

Properties

Link copied to clipboard
val contentId: Long? = null
Link copied to clipboard
val count: Int? = null
Link copied to clipboard
val id: Long? = null
Link copied to clipboard
val state: Int? = null
Link copied to clipboard
val type: Websocket.Type? = null
Link copied to clipboard
val userHash: String? = null