Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DispatchOptions: add types for headersTimeout, bodyTimeout; add origin in docs #888

Merged
merged 2 commits into from
Jul 19, 2021

Conversation

joshxyzhimself
Copy link
Contributor

Add types for

  • DispatchOptions.headersTimeout
  • DispatchOptions.bodyTimeout

Add in docs

  • DispatchOptions.origin

Reference

- add `Dispatcher.DispatchOptions.headersTimeout`
- add `Dispatcher.DispatchOptions.bodyTimeout`
- add `origin string | URL` under DispatchOptions
@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2021

Codecov Report

Merging #888 (3871ac5) into main (104be9c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #888   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files          26       26           
  Lines        2121     2121           
=======================================
  Hits         2117     2117           
  Misses          4        4           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 104be9c...3871ac5. Read the comment docs.

@ronag ronag merged commit f788639 into nodejs:main Jul 19, 2021
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
…n in docs (nodejs#888)

* Update dispatcher.d.ts

- add `Dispatcher.DispatchOptions.headersTimeout`
- add `Dispatcher.DispatchOptions.bodyTimeout`

* Update Dispatcher.md

- add `origin string | URL` under DispatchOptions
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.

None yet

3 participants