Skip to content

Commit

Permalink
Fix conflicting variable name in AddSoapMessageProcessor() example
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSirmovics authored Oct 15, 2024
1 parent f66cbfd commit e0e8a6a
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 e0e8a6a

Please sign in to comment.