MockerHttpExtensions..::..GetContentBytesAsync Method

Gets the content bytes.

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

Syntax


public static Task<byte[]> GetContentBytesAsync(
	this HttpContent content
)
<ExtensionAttribute> _
Public Shared Function GetContentBytesAsync ( _
	content As HttpContent _
) As Task(Of Byte())
[ExtensionAttribute]
public:
static Task<array<unsigned char^>^>^ GetContentBytesAsync(
	HttpContent^ content
)

Parameters

content
Type: HttpContent
The content.

Return Value

byte[].