MockerHttpExtensions..::..GetContentStreamAsync Method

Gets the content stream.

Namespace:  FastMoq.Extensions
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public static Task<Stream> GetContentStreamAsync(
	this HttpContent content
)
<ExtensionAttribute> _
Public Shared Function GetContentStreamAsync ( _
	content As HttpContent _
) As Task(Of Stream)
[ExtensionAttribute]
public:
static Task<Stream^>^ GetContentStreamAsync(
	HttpContent^ content
)

Parameters

content
Type: HttpContent
The content.

Return Value

System.IO.Stream.