Type alias CreateLibp2pOptions

CreateLibp2pOptions: Libp2pOptions & {
    filterMultiaddrs?: boolean;
    hideWebSocketInfo?: boolean;
    pingMaxInboundStreams?: number;
}

Type declaration

  • Optional filterMultiaddrs?: boolean

    Applies secure web socket filters.

    Default

    true
    
  • Optional hideWebSocketInfo?: boolean

    Hides WebSocket info message in console.

    Default

    false
    
  • Optional pingMaxInboundStreams?: number