Skip to main content
Module

x/net/src/mod.ts

A networking framework that aims to enable the development of complex multi-port servers and clients.
Latest
import * as net from "https://deno.land/x/net@v1.1.2/src/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

A static class that aims to enumerate events available to UDP listeners.

Interfaces

Interface used on event connected callback.

Interface used on event data callback.

Interface used on event error callback.

Interface used on event listening callback.

Interface used on event data callback.

Interface used on event error callback.

Interface used on event listening callback.