mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
IBodyResponseBuilder.WithBody* should receive the request as a parameter #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @davidshen84 on GitHub (Feb 28, 2018).
Currently, the
IBodyResponseBuilder.WithBody*methods only allow return fixed response. If we can get the request object as a parameter, it would allow it respond dynamic response.@StefH commented on GitHub (Feb 28, 2018):
Is this issue linked to your question?
https://github.com/WireMock-Net/WireMock.Net/issues/66
@davidshen84 commented on GitHub (Feb 28, 2018):
Yes, I think it would serve the same purpose.
@StefH commented on GitHub (Mar 1, 2018):
Code added, new NuGet will be uploaded.