Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Close proxy server
Manage all created socket
for each new socket, we put them to a map;
if the socket is closed itself, we remove it from the map
when the close
method is called, we'll close the sockes before the server closed
the http socket that is creating
Emit when proxy server is ready
Emit when error happened inside proxy server
Start proxy server
Returns a list listener for a specific emitter event name.
Generated using TypeDoc
Creates an instance of ProxyCore.