MCPcopy
hub / github.com/Allenxuxu/gev / WriteString

Method WriteString

plugins/websocket/ws/http.go:341–345  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

339}
340
341func (w *writer) WriteString(s string) (int, error) {
342 n, err := io.WriteString(w.w, s)
343 w.n += int64(n)
344 return n, err
345}
346
347func (w *writer) Write(p []byte) (int, error) {
348 n, err := w.w.Write(p)

Callers 8

writeAcceptFunction · 0.80
httpWriteHeaderFunction · 0.80
httpWriteHeaderKeyFunction · 0.80
httpWriteResponseUpgradeFunction · 0.80
httpWriteResponseErrorFunction · 0.80
writeStatusTextFunction · 0.80
writeErrorTextFunction · 0.80
WriteToMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected