Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd EnableRewind option to AsString body extension #156
Labels
Comments
|
@jchannon the link you provided does not exist anymore. |
|
Ah its just a link to show how you could call AsString() which will have the code above in and then you could call Bind and it wouldn't fail as the body's position would be back at position 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will need to call👍
Then read the body without a using statement in a StreamReader otherwise this closes the stream and it can't be read again therefore you'd need
new StreamReader(stream).ReadToEndAsync()