
上QQ阅读APP看书,第一时间看更新
Writing data to a TCP connection
Another common, as well as important, scenario in any web application is to send the data back to the client or responding to the client. Go provides a convenient way to write a message on a connection as bytes, which we will be covering in this recipe.