58 $encoder->encodeString($this->type);
59 parent::serialize($encoder);
60 $encoder->encodeUint32($this->initialWindowSize);
61 $encoder->encodeUint32($this->maximumPacketSize);
68 $decoder->decodeString(),
69 $decoder->decodeUint32(),
70 $decoder->decodeUint32(),
71 $decoder->decodeUint32()
$maximumPacketSize
Maximum packet size.
$channel
Local channel identifier.
__construct($type, $channel, $initialWindowSize, $maximumPacketSize)
$initialWindowSize
Initial window size for the channel.
static unserialize(\fpoirotte\Pssht\Wire\Decoder $decoder)
serialize(\fpoirotte\Pssht\Wire\Encoder $encoder)