MCPcopy Index your code
hub / github.com/koding/kite / Write

Method Write

tunnelproxy/tunnel.go:75–77  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

73}
74
75func (s SessionReadWriteCloser) Write(b []byte) (int, error) {
76 return len(b), s.session.Send(string(b))
77}
78
79func (s SessionReadWriteCloser) Close() error {
80 return s.session.Close(3000, "Go away!")

Callers 4

HandleHeartbeatMethod · 0.80
InitializeSelfMethod · 0.80
mainFunction · 0.80
RunMethod · 0.80

Calls 1

SendMethod · 0.45

Tested by

no test coverage detected