CloseData

class CloseData(val reason: String? = null, val success: Boolean? = null) : MessageData

A data class implementing MessageData that represents the contents of a Close.

Constructors

Link copied to clipboard
constructor(reason: String? = null, success: Boolean? = null)

Properties

Link copied to clipboard
val reason: String? = null

an explanation of why the exchange is being closed/completed

Link copied to clipboard
val success: Boolean? = null

indicates whether the exchange successfully completed