vncore / com.venuenext.vncore.http / HybiParser

HybiParser

class HybiParser

WebSocket VenueNext

Created on 3/18/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Types

Client

interface Client

HappyDataInputStream

class HappyDataInputStream : DataInputStream

Exceptions

ProtocolError

class ProtocolError : IOException

Constructors

<init>

WebSocket VenueNext

HybiParser(mClient: Client)

Functions

close

fun close(code: Int, reason: String): Unit

frame

fun frame(data: String): ByteArray?
fun frame(data: ByteArray): ByteArray?

ping

fun ping(message: String): Unit

start

fun start(stream: HappyDataInputStream): Unit