• If the http module is the one from nodejs the close function does have a callback parameter.
    It gets called when the connection is actually closed.

    -- Edit --
    Just for completeness sake.. you could also listen to the "close" event.

About

Avatar for sureshkm @sureshkm started