Skip to content

Files

Latest commit

Aug 30, 2017
365b8db · Aug 30, 2017

History

History
12 lines (8 loc) · 297 Bytes

socket_end_data_encoding.md

File metadata and controls

12 lines (8 loc) · 297 Bytes
  • Returns: {net.Socket} The socket itself.

Half-closes the socket. i.e., it sends a FIN packet. It is possible the server will still send some data.

If data is specified, it is equivalent to calling socket.write(data, encoding) followed by [socket.end()][].