-
Notifications
You must be signed in to change notification settings - Fork 262
Description
Hi,
I need a possibility of using createConnection option in the http/https request:
createConnection A function that produces a socket/stream to use for the request when the agent option is not used. This can be used to avoid creating a custom Agent class just to override the default createConnection function. See agent.createConnection() for more details. Any Duplex stream is a valid return value.
You can read more info about this function in the Node.js documentation: https://nodejs.org/api/http.html#http_http_request_options_callback
NOTE: The createConnection of globalAgent isn't suitable for me because I use other connections
P.S. Thanks for your work and the best library for EventSource.