Close headless socket connection
rogermiranda1000 opened this issue · 3 comments
rogermiranda1000 commented
rom1504 commented
what is the question here?
rogermiranda1000 commented
what is the question here?
How do I destroy the socket (in headless mode)
rom1504 commented
client is returned by the function creating the headless mode so you should be able to call .end() on it https://nodejs.org/api/net.html#socketenddata-encoding-callback