Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/earthstar/src/tcp/tcp_provider.ts>TcpConn

Storage for private, distributed, offline-first applications.
Go to Latest
class TcpConn
implements ITcpConn
import { TcpConn } from "https://deno.land/x/earthstar@v10.2.0/src/tcp/tcp_provider.ts";

Constructors

new
TcpConn(conn: Deno.Conn)

Properties

private
conn: Deno.Conn
readonly
readable
readonly
remoteAddr
readonly
writable

Methods

read(bytes: Uint8Array): Promise<number | null>
write(bytes: Uint8Array): Promise<number | null>