MockerHttpExtensions Members

The MockerHttpExtensions type exposes the following members.

Methods


  Name Description
Public method Static member CreateHttpClient
Creates the HTTP client using a mock IHttpClientFactory.
Public method Static member GetContentBytesAsync
Gets the content bytes.
Public method Static member GetContentStreamAsync
Gets the content stream.
Public method Static member SetupHttpMessage
Setups the HTTP message.
Public method Static member SetupMessage<(Of <<'(TMock, TReturn>)>>)
Setups the message.
Public method Static member SetupMessageAsync<(Of <<'(TMock, TReturn>)>>)
Setups the message asynchronous.
Public method Static member SetupMessageProtected<(Of <<'(TMock, TReturn>)>>)
Setups the message protected.
Public method Static member SetupMessageProtectedAsync<(Of <<'(TMock, TReturn>)>>)
Setups the message protected asynchronous.