Replies: 2 comments 11 replies
-
Beta Was this translation helpful? Give feedback.
10 replies
-
What is the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the C# code to build a request with a response is like:
I want to make this a bit easier to use.
1️⃣
My first proposal is like this:
2️⃣
Optionally, my second proposal could be to use
WhenRequest
, so:3️⃣
Optionally, option 3,
RespondWith
is replaced byRespond
:Also another change would be that in case you just want a simple 200 ok response, you can now use:
or
(#1042)
Beta Was this translation helpful? Give feedback.
All reactions