libp2p
    Preparing search index...

    Module @libp2p/tls

    import { createLibp2p } from 'libp2p'
    import { tls } from '@libp2p/tls'

    const node = await createLibp2p({
    // ...other options
    connectionEncrypters: [
    tls()
    ]
    })

    @libp2p/tls

    libp2p.io Discuss codecov CI

    A connection encrypter that uses TLS 1.3

    About

    Implements the spec at https://github.com/libp2p/specs/blob/master/tls/tls.md

    import { createLibp2p } from 'libp2p'
    import { tls } from '@libp2p/tls'

    const node = await createLibp2p({
    // ...other options
    connectionEncrypters: [
    tls()
    ]
    })

    Install

    $ npm i @libp2p/tls
    

    API Docs

    License

    Licensed under either of

    Contribution

    Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

    Interfaces

    TLSComponents

    Variables

    PROTOCOL

    Functions

    tls