Module

x/alosaur/src/microservice/server/server.ts>TcpServer

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
class TcpServer
import { TcpServer } from "https://dotland.deno.dev/x/alosaur@v0.37.0/src/microservice/server/server.ts";

Constructors

new
TcpServer(config: TcpServerConfig)

Properties

private
connections: Map<number, Deno.Conn>

Methods

private
handleConn(conn: Deno.Conn, handler: Function)
private
init()
listen(handler: Function)
send(rid: number, msg: Uint8Array)
sendAll(msg: Uint8Array)