WriteRawFrame writes a raw frame. This can be used to write extension frames unknown to this package.
// We ignore the return value because it's expected that the server // will only read the first 9 bytes (the headre) and then disconnect. st.fr.WriteRawFrame(0xff, 0, 0, make(byte, defaultMaxReadFrameSize+1)) gf := st.wantGoAway()
WriteRawFrame is referenced in 3 repositoriesgithub.com/bradfitz/http2
- 1 reference in server_test.go
- 1 reference in examples/http2/http2.go