N
N
Nicolas2015-04-08 13:28:01
JavaScript
Nicolas, 2015-04-08 13:28:01

How to catch connection break in PhantomJs?

In node.js, response has a "close" event that fires when the connection is closed. How to do the same in PhantomJs? And how to normally delete rendered pages from memory when the connection is broken? page.close()?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question