libp2p-tcp

  • Version 0.17.2
  • Published
  • 143 kB
  • 8 dependencies
  • MIT license

Install

npm i libp2p-tcp
yarn add libp2p-tcp
pnpm add libp2p-tcp

Overview

Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces

Index

Variables

variable TCPWithIs

const TCPWithIs: any;

    Type Aliases

    type Connection

    type Connection = import('libp2p-interfaces/src/connection/connection');

      type Listener

      type Listener = import('libp2p-interfaces/src/transport/types').Listener;

        type Multiaddr

        type Multiaddr = import('multiaddr').Multiaddr;

          type Socket

          type Socket = import('net').Socket;

            type Upgrader

            type Upgrader = import('libp2p-interfaces/src/transport/types').Upgrader;

              Package Files (1)

              Dependencies (8)

              Dev Dependencies (7)

              Peer Dependencies (0)

              No peer dependencies.

              Badge

              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/libp2p-tcp.

              • Markdown
                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/libp2p-tcp)
              • HTML
                <a href="https://www.jsdocs.io/package/libp2p-tcp"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>