MCPcopy Create free account
hub / github.com/gobwas/ws / httpWriteHeader

Function httpWriteHeader

http.go:265–269  ·  view source on GitHub ↗
(bw *bufio.Writer, key, value string)

Source from the content-addressed store, hash-verified

263}
264
265func httpWriteHeader(bw *bufio.Writer, key, value string) {
266 httpWriteHeaderKey(bw, key)
267 bw.WriteString(value)
268 bw.WriteString(crlf)
269}
270
271func httpWriteHeaderBts(bw *bufio.Writer, key string, value []byte) {
272 httpWriteHeaderKey(bw, key)

Callers 2

httpWriteUpgradeRequestFunction · 0.85
httpWriteResponseUpgradeFunction · 0.85

Calls 2

httpWriteHeaderKeyFunction · 0.85
WriteStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…