googleapis / googleapis/google-cloud-node
cleanup: shrink usage of GaxiosOptions as argument to HTTP2.Request
Open
library: google-cloud-node-core
type: cleanup
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
While investigating https://github.com/googleapis/google-api-nodejs-client/issues/3187 I noticed that the `http2.request` function takes `GaxiosOptions` as the configuration. However, a lot of these `GaxiosOptions` do not have a 1-to-1 mapping in `ClientHttp2Session`. We might want to rethink using `GaxiosOptions` as the argument type and instead create options that align better with functionality available in `ClientHttp2Session`.
Contributor guide
Assessment
This issue has not been assessed yet.