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

Support for keyword arguments for Request/Response. #64

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Aug 30, 2024

It can be tricky to specify positional arguments as Request (especially) and Response take several arguments, some of which are not always specified.

We introduce support for keyword arguments which makes it easier to read and write code which deals with complex request/response scenarios.

client.get("/index.html", headers: ..., authority: ...)

Types of Changes

  • New feature.

Contribution

@ioquatix ioquatix merged commit 4d1a70b into main Aug 30, 2024
48 of 50 checks passed
@ioquatix ioquatix deleted the keyword-arguments branch August 30, 2024 21:53
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.

1 participant