RequestBuilder.SendAsync Method
Set the request method and start processing the request.
Namespace: Microsoft.Owin.Testing
Assembly: Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)
Syntax
'Declaration
Public Function SendAsync ( _
method As String _
) As Task(Of HttpResponseMessage)
'Usage
Dim instance As RequestBuilder
Dim method As String
Dim returnValue As Task(Of HttpResponseMessage)
returnValue = instance.SendAsync(method)
public Task<HttpResponseMessage> SendAsync(
string method
)
public:
Task<HttpResponseMessage^>^ SendAsync(
String^ method
)
member SendAsync :
method:string -> Task<HttpResponseMessage>
public function SendAsync(
method : String
) : Task<HttpResponseMessage>
Parameters
- method
Type: System.String
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
Returns Task<TResult>.