RequestBuilder.GetAsync Method

Set the request method to GET and start processing the request.

Namespace:  Microsoft.Owin.Testing
Assembly:  Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)

Syntax

'Declaration
Public Function GetAsync As Task(Of HttpResponseMessage)
'Usage
Dim instance As RequestBuilder 
Dim returnValue As Task(Of HttpResponseMessage)

returnValue = instance.GetAsync()
public Task<HttpResponseMessage> GetAsync()
public:
Task<HttpResponseMessage^>^ GetAsync()
member GetAsync : unit -> Task<HttpResponseMessage> 
public function GetAsync() : Task<HttpResponseMessage>

Return Value

Type: System.Threading.Tasks.Task<HttpResponseMessage>
Returns Task<TResult>.

See Also

Reference

RequestBuilder Class

Microsoft.Owin.Testing Namespace