API Docs for: 0.0.57
Show:

SecureMessageChunkManager Class

Constructor

SecureMessageChunkManager

(
  • msgType
  • options
  • securityHeader
  • sequenceNumberGenerator
)

Parameters:

  • msgType Object
  • options Object
    • chunkSize Integer

      [=8196]

    • secureChannelId
    • requestId
    • signatureLength Integer

      [undefined]

    • signingFunc Function

      [undefined]

  • securityHeader Object
  • sequenceNumberGenerator Object

Item Index

Events

Methods

packet_analyzer

(
  • buffer
  • id
  • padding
  • offset
  • custom_options
)

Parameters:

  • buffer Buffer
  • id Object
  • padding Integer
  • offset Integer
  • custom_options Object

write

(
  • buffer
  • length
)

Parameters:

  • buffer Buffer
  • length Integer
    • optional if not provided buffer.length is used instead.

Events

chunk

Event Payload:

  • chunk Buffer