Skip to content

Commit

Permalink
Merge pull request #1092 from TimSirmovics/develop
Browse files Browse the repository at this point in the history
Fix conflicting variable name in AddSoapMessageProcessor() example
  • Loading branch information
andersjonsson authored Oct 15, 2024
2 parents f66cbfd + e0e8a6a commit 89a34e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ services.AddSoapMessageProcessor(async (message, httpcontext, next) =>

//now you can inspect and modify the content at will.
//if you want to pass on the original message, use bufferedMessage.CreateMessage(); otherwise use one of the overloads of Message.CreateMessage() to create a new message
var message = bufferedMessage.CreateMessage();
var originalMessage = bufferedMessage.CreateMessage();

//pass the modified message on to the rest of the pipe.
var responseMessage = await next(message);
Expand Down

0 comments on commit 89a34e7

Please sign in to comment.