Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some xml docs for the StreamExtensions as part of the issue #44 #48

Merged
merged 3 commits into from Oct 30, 2017

Conversation

BugAgain
Copy link
Contributor

No description provided.

@jchannon jchannon added this to the vNext milestone Oct 29, 2017
@@ -7,7 +7,12 @@

public static class StreamExtensions
{

/// <summary>
/// Gets the RequestBody Stream as string in the specified <see cref="Encoding"/> (optional)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gets the <see cref="HttpRequest" /> Body <see cref="Stream"/> as <see cref="String"/> in the optional <see cref="Encoding"/>

/// </summary>
/// <param name="stream">Current <see cref="Stream"/></param>
/// <param name="encoding">The character encoding to use or <see cref="Encoding.UTF8"/> by default</param>
/// <returns>Current string content of the RequestBody Stream</returns>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current content of the Body

/// <param name="stream">Current <see cref="Stream"/></param>
/// <param name="encoding">The character encoding to use or <see cref="Encoding.UTF8"/> by default</param>
/// <param name="cancellationToken">The cancellation instruction if required</param>
/// <returns>Awaited <see cref="Task"/></returns>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Task{String}

@@ -23,6 +28,13 @@ public static string AsString(this Stream stream, Encoding encoding = null)
}
}

/// <summary>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gets the Body as asynchronously in the optional

@jchannon jchannon merged commit 17a2177 into CarterCommunity:master Oct 30, 2017
@jchannon
Copy link
Member

Awesome! Thanks 👍

@jchannon jchannon mentioned this pull request Oct 30, 2017
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants