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

Add handlers to the interface method parameters and headers before generating the HttpRequestMessage #1607

Open
scrapstation opened this issue Nov 19, 2023 · 0 comments

Comments

@scrapstation
Copy link

I have an API request model like

Body:
{ userId:10001, amont:10, sign:"xxxxxx" }

When I write the business logic, I don't care about the generation of the sign field

Describe the solution you'd like

Provide a handler that performs a second processing of the parameters and headers before generating the httprequest

Describe alternatives you've considered

I can only use HttpMessageHandler to deserialize the request and process the sign parameter

Describe suggestions on how to achieve the feature

Additional context

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

No branches or pull requests

1 participant