WriteSettingsAck writes an empty SETTINGS frame with the ACK bit set. It will perform exactly one Write to the underlying Writer. It is the caller's responsibility to not call other Write methods concurrently.
()
| 897 | // It will perform exactly one Write to the underlying Writer. |
| 898 | // It is the caller's responsibility to not call other Write methods concurrently. |
| 899 | func (h2f *Framer) WriteSettingsAck() error { |
| 900 | h2f.startWrite(FrameSettings, FlagSettingsAck, 0) |
| 901 | return h2f.endWrite() |
| 902 | } |
| 903 | |
| 904 | // A PingFrame is a mechanism for measuring a minimal round trip time |
| 905 | // from the sender, as well as determining whether an idle connection |
no test coverage detected