Companion

object Companion

Functions

Link copied to clipboard
fun createServer(host: String, port: Int, protocolTypes: ProtocolTypes): ServerRecord
fun createServer(host: String, port: Int, protocolTypes: EnumSet<ProtocolTypes>): ServerRecord

Creates a server record for a given endpoint.

Link copied to clipboard

Creates a Socket server given an IP endpoint.

Link copied to clipboard

Creates a WebSocket server given an address in the form of "hostname:port".

Link copied to clipboard

Creates a Socket server given an IP endpoint.