summaryrefslogtreecommitdiff
path: root/ext/node/ops/mod.rs
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2024-11-19 10:48:57 +0900
committerGitHub <noreply@github.com>2024-11-18 17:48:57 -0800
commit0e2f6e38e7b93e42099f546ef2c01629964d095a (patch)
tree1aa85f6034befb38e2d1dff786927f61701c9d2b /ext/node/ops/mod.rs
parent9f26ca450936da66e57dad2206d0d11363e7b35c (diff)
feat(ext/fetch): Make fetch client parameters configurable (#26909)
This commit makes HTTP client parameters used in `fetch` API configurable on the extension initialization via a callback `client_builder_hook` that users can provide. The main motivation behind this change is to allow `deno_fetch` users to tune the HTTP/2 client to suit their needs, although Deno CLI users will not benefit from it as no JavaScript interface is exposed to set these parameters currently. It is up to users whether to provide a hook function. If not provided, the default configuration from hyper crate will be used. Ref #26785
Diffstat (limited to 'ext/node/ops/mod.rs')
0 files changed, 0 insertions, 0 deletions