Enter to send·Shift+Enter new line
Bridge copies opaque bytes in both directions.
func Bridge(ctx context.Context, left, right net.Conn) error
Bridge copies opaque bytes in both directions. A clean EOF half-closes the destination while leaving the response direction alive.
ctx
context.Context
left
net.Conn
right