MCPcopy Index your code
hub / github.com/imroc/req / WriteString

Method WriteString

header.go:23–25  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

21}
22
23func (w stringWriter) WriteString(s string) (n int, err error) {
24 return w.w.Write([]byte(s))
25}
26
27// A headerSorter implements sort.Interface by sorting a []keyValues
28// by key. It's used as a pointer, so it can fit in a sort.Interface

Callers 10

writeRequestMethod · 0.80
handleOrderedFormDataFunction · 0.80
writeBodyMethod · 0.80
WriteMethod · 0.80
CloseMethod · 0.80
StringMethod · 0.80
writeDebugMethod · 0.80
summarizeFrameFunction · 0.80

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected