All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.ditchoom.websocket.DataRead.kt Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package com.ditchoom.websocket

import com.ditchoom.buffer.ReadBuffer

sealed class DataRead {
    class Ping(val buffer: ReadBuffer) : DataRead()
    class Pong(val buffer: ReadBuffer) : DataRead()
    class BinaryDataRead(val data: ReadBuffer) : DataRead()
    class StringDataRead(val string: String) : DataRead()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy