MCPcopy
hub / github.com/gorilla/websocket / Close

Method Close

conn.go:727–732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

725}
726
727func (w *messageWriter) Close() error {
728 if w.err != nil {
729 return w.err
730 }
731 return w.flushFrame(true, nil)
732}
733
734// WritePreparedMessage writes prepared message into connection.
735func (c *Conn) WritePreparedMessage(pm *PreparedMessage) error {

Callers

nothing calls this directly

Calls 1

flushFrameMethod · 0.95

Tested by

no test coverage detected