I’m trying to create an HTTP/2 SETTINGS
frame per https://datatracker.ietf.org/doc/html/rfc7540#section-6.5 and https://datatracker.ietf.org/doc/html/rfc7540#section-6.5.1.
If I’m reading this correctly a SETTINGS
frame can have zero parameters
The payload of a SETTINGS frame consists of zero or more parameters,
each consisting of an unsigned 16-bit setting identifier and an
unsigned 32-bit value.
Given an ArrayBuffer
and a DataView
instance in JavaScript, for example, in the console
of the browser, how to write the most basic HTTP/2 SETTINGS
frame – from server to client?