socket.setEncoding([encoding])
encoding<string>- 返回: <net.Socket> 套接字自身
将套接字的编码设置为可读流。
有关详细信息,请参阅 readable.setEncoding()。
encoding<string>- Returns: <net.Socket> The socket itself.
Set the encoding for the socket as a Readable Stream. See
readable.setEncoding() for more information.