Skip to content

docs: add docs for using undici dispatcher#389

Merged
pi0 merged 2 commits intounjs:mainfrom
blowsie:patch-1
May 16, 2024
Merged

docs: add docs for using undici dispatcher#389
pi0 merged 2 commits intounjs:mainfrom
blowsie:patch-1

Conversation

@blowsie
Copy link
Contributor

@blowsie blowsie commented Apr 24, 2024

🔗 Linked issue

#379, #215, #316

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

agent setting only applies to older versions of node.
As of version 18 node fetch is native and depends on undici, which uses a dispatcher option instead

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 changed the title docs(README): improve https and proxy agent documentation docs: add docs for using undici dispatcher May 16, 2024
@pi0 pi0 merged commit c24c9a3 into unjs:main May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants