IBodyResponseBuilder.WithBody* should receive the request as a parameter #72

Closed
opened 2025-12-29 08:21:54 +01:00 by adam · 3 comments
Owner

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.

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.
adam closed this issue 2025-12-29 08:21:54 +01:00
Author
Owner

@StefH commented on GitHub (Feb 28, 2018):

Is this issue linked to your question?
https://github.com/WireMock-Net/WireMock.Net/issues/66

@StefH commented on GitHub (Feb 28, 2018): Is this issue linked to your question? https://github.com/WireMock-Net/WireMock.Net/issues/66
Author
Owner

@davidshen84 commented on GitHub (Feb 28, 2018):

Yes, I think it would serve the same purpose.

@davidshen84 commented on GitHub (Feb 28, 2018): Yes, I think it would serve the same purpose.
Author
Owner

@StefH commented on GitHub (Mar 1, 2018):

Code added, new NuGet will be uploaded.

@StefH commented on GitHub (Mar 1, 2018): Code added, new NuGet will be uploaded.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#72