Module

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

Alosaur - Deno web framework with many decorators
Go to Latest
class TcpServer
import { TcpServer } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/microservice/mod.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)
import TcpServer
import { TcpServer } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/microservice/mod.ts";