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

Implementing HTTP request data representation #120

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

fabiocav
Copy link
Member

@fabiocav fabiocav commented Feb 12, 2021

Initial implementation, some cleanup still in progress.

Resolves #110
Resolves #112
Resolves #121

Related to #122

  • - Update the sample app with the new APIs to demonstrate usage.
  • - Add helper methods to more easily read the request body.
  • - Tests

Updates to the response will come in a separate PR.

src/DotNetWorker/Grpc/GrpcHttpRequestData.cs Outdated Show resolved Hide resolved
src/DotNetWorker/Grpc/GrpcHttpRequestData.cs Outdated Show resolved Hide resolved

namespace Microsoft.Azure.Functions.Worker
{
public enum SameSite
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to replicate every type like this? For example, we use System.Net.HttpStatusCode in responses.

@fabiocav fabiocav marked this pull request as ready for review February 13, 2021 00:36
@fabiocav fabiocav force-pushed the fabiocav/httprequestdata branch 2 times, most recently from c37b6f3 to ae57b28 Compare February 13, 2021 02:41
@fabiocav fabiocav merged commit b7089a3 into main Feb 16, 2021
@fabiocav fabiocav deleted the fabiocav/httprequestdata branch February 16, 2021 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants