MCPcopy Create free account
hub / github.com/imroc/req / WriteSettingsAck

Method WriteSettingsAck

internal/http2/frame.go:899–902  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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.
899func (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

Callers 1

processSettingsMethod · 0.80

Calls 2

startWriteMethod · 0.95
endWriteMethod · 0.95

Tested by

no test coverage detected