Skip to main content
Module

x/net/mod.ts

A networking framework that aims to enable the development of complex multi-port servers and clients.
Go to Latest
import * as net from "https://deno.land/x/net@v1.0.4/mod.ts";

Classes

Event Emitter is a simple event class with the sole purpose of being lightweight and easy to use. It only provides 4 basic methods.

Packet is a structured string of bytes that serves to facilitate communication between client and server.

TCP client

A static class that aims to enumerate events available to TCP servers and clients.

TCP server

Interfaces

Interface used on event connected callback.

Interface used on event disconnected callback.

Interface used on event error callback.

Interface used on event listening callback.