MCPcopy Create free account
hub / github.com/boringproxy/boringproxy / Write

Method Write

sni.go:95–95  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

93func (c ProxyConn) CloseWrite() error { return c.conn.(*net.TCPConn).CloseWrite() }
94func (c ProxyConn) Read(p []byte) (int, error) { return c.reader.Read(p) }
95func (c ProxyConn) Write(p []byte) (int, error) { return c.conn.Write(p) }
96
97// TODO: is this safe? Will it actually close properly, or does it need to be
98// connected to the reader somehow?

Callers 9

handleTunnelsMethod · 0.45
handleTokensMethod · 0.45
handleClientsMethod · 0.45
addToAuthorizedKeysMethod · 0.45
handleWebUiRequestMethod · 0.45
handleLoginMethod · 0.45
handleTunnelsMethod · 0.45
confirmDeleteUserMethod · 0.45
confirmDeleteTokenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected