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

Allow users to directly pass on options to the API call (e.g., via '...' and req_options) #34

Open
yannikbuhl opened this issue Aug 6, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@yannikbuhl
Copy link
Collaborator

At the moment, most of restatis's functions do not allow to modify the underlying HTTP call using httr2. For example, this might be a problem once someone tries to add proxy information. In httr2 it seems that there is no other way than using req_options to add more options to the API call. This is, at this moment, not supported by restatis and could be considered being added to all functions.

@yannikbuhl yannikbuhl added the enhancement New feature or request label Aug 6, 2024
@yannikbuhl yannikbuhl self-assigned this Aug 6, 2024
@yannikbuhl
Copy link
Collaborator Author

We would need to have the ... passed on to httr2::req_options(...) so you can set a proxy, for example.

@yannikbuhl yannikbuhl changed the title Allow users to directly pass on arguments to the API call (e.g., via '...') Allow users to directly pass on options to the API call (e.g., via '...' and req_options) Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant