MCPcopy Index your code
hub / github.com/gobwas/ws / WriteString

Method WriteString

http.go:497–501  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

495}
496
497func (w *writer) WriteString(s string) (int, error) {
498 n, err := io.WriteString(w.w, s)
499 w.n += int64(n)
500 return n, err
501}
502
503func (w *writer) Write(p []byte) (int, error) {
504 n, err := w.w.Write(p)

Callers 11

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

Calls

no outgoing calls

Tested by 1