Incoming

class Incoming(val port: Int, val websocket: Boolean = true)(source)

Constructors

Link copied to clipboard
constructor(port: Int, websocket: Boolean = true)

Properties

Link copied to clipboard
val port: Int

The port that DataSource should accept incoming peer connections on. If unspecified, this DataSource will not accept incoming connections.

Link copied to clipboard
val websocket: Boolean = true

Whether the incoming port should allow websocket or plain TCP connections.

Functions

Link copied to clipboard
open override fun toString(): String