Hierarchy

  • P2PRequest

Constructors

  • Parameters

    • options: RequestOptions
    • respondCallback: ((responseError?: Error, responseData?: unknown) => void)
        • (responseError?: Error, responseData?: unknown): void
        • Parameters

          • Optional responseError: Error
          • Optional responseData: unknown

          Returns void

    Returns P2PRequest

Properties

_data: undefined | Buffer
_peerId: string
_procedure: string
_rate: number
_respondCallback: ((responseError?: Error, responseData?: P2PResponsePacket) => void)

Type declaration

_wasResponseSent: boolean

Accessors

Methods

Generated using TypeDoc