Commit 8cfdd326 authored by Ryan's avatar Ryan
Browse files

Add "had_error" argument to the "onDisconnect" in node.tcp.Client

This is a boolean value which allows one to detect if the socket was closed
due to errors. There is not yet a way to look up the actual error code.
parent b933743d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment