ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.59k stars 1.33k forks source link

feature: Support port overrides in connect() #1564

Closed bennbollay closed 4 years ago

bennbollay commented 4 years ago

Allow for .connect({'*': {host: 'hostname', port: 12345}}) overrides to change the destination port of a request.

niftylettuce commented 4 years ago

Ill do this myself nvm

niftylettuce commented 4 years ago

v5.3.0 published to npm and GitHub releases page with changelog