Jump to content
McKay Development

Suggestion: Add optional callback function for proxy connection


What Comes Around

Recommended Posts

Good day!

Just a suggestion. I have already added this locally but would be good to add to the available npm. Basically, say the proxy connection doesn't work. For me, it would be very useful to be able to set a function as a callback that handles the error. For example; The proxy timedout. It runs a function: X. Function X flags the assigned proxy as not working and returns an unused proxy URL. I would make a pull request but I'm self taught and my code is kinda janky half the time, so I think you could do much better than me :) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...