Write writes data to the connection. Write can be made to time out and return a Error with Timeout() == true after a fixed time limit; see SetDeadline and SetWriteDeadline.
(b []byte)
| 91 | // Write can be made to time out and return a Error with Timeout() == true |
| 92 | // after a fixed time limit; see SetDeadline and SetWriteDeadline. |
| 93 | func (sc *SlowConn) Write(b []byte) (n int, err error) { |
| 94 | return sc.writer.Write(b) |
| 95 | } |
| 96 | |
| 97 | // Close closes the connection. |
| 98 | // Any blocked Read or Write operations will be unblocked and return errors. |
no outgoing calls
no test coverage detected