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

Method WriteTo

http.go:477–479  ·  view source on GitHub ↗

WriteTo implements HandshakeHeader (and io.WriterTo) interface.

(w io.Writer)

Source from the content-addressed store, hash-verified

475
476// WriteTo implements HandshakeHeader (and io.WriterTo) interface.
477func (f HandshakeHeaderFunc) WriteTo(w io.Writer) (int64, error) {
478 return f(w)
479}
480
481// HandshakeHeaderHTTP is an adapter to allow the use of http.Header as
482// HandshakeHeader.

Callers 1

httpWriteUpgradeRequestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected