Class: SendHeadersPacket

net/packets~SendHeadersPacket()

SendHeaders Packet

Constructor

new SendHeadersPacket()

Create a sendheaders packet.

Source:

Extends

  • Packet

Methods

(static) fromRaw(data, encnullable) → {SendHeadersPacket}

Instantiate sendheaders packet from serialized data.

Parameters:
Name Type Attributes Description
data Buffer
enc String <nullable>
Source:
Returns:
Type
SendHeadersPacket

(static) fromReader(br) → {SendHeadersPacket}

Instantiate sendheaders packet from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:
Returns:
Type
SendHeadersPacket