Expand description
Connection preface — RFC 9113 §3.4.
Spec §3.5: the client preface is 24 bytes:
PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n.
Constants§
- CLIENT_
PREFACE - HTTP/2 client connection preface (RFC 9113 §3.4).
Functions§
- check_
preface - Checks whether the first 24 bytes of the input match the spec preface.