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
Conversation
src/Request/StreamExtensions.cs
Outdated
@@ -7,7 +7,12 @@ | |||
|
|||
public static class StreamExtensions | |||
{ | |||
|
|||
/// <summary> | |||
/// Gets the RequestBody Stream as string in the specified <see cref="Encoding"/> (optional) |
There was a problem hiding this comment.
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"/>
src/Request/StreamExtensions.cs
Outdated
/// </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> |
There was a problem hiding this comment.
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
src/Request/StreamExtensions.cs
Outdated
/// <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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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
Awesome! Thanks 👍 |
No description provided.