'Declaration
<AsyncStateMachineAttribute(Gibraltar.Server.Client.WebChannel/d__64)> Public Overloads Function DownloadString( _ ByVal relativeUrl As String, _ ByVal method As HttpMethod, _ ByVal timeout As Nullable(Of Integer) _ ) As Task(Of String)
[AsyncStateMachine(Gibraltar.Server.Client.WebChannel/d__64)] public Task<string> DownloadString( string relativeUrl, HttpMethod method, Nullable<int> timeout )
Parameters
- relativeUrl
- method
- The HTTP method used to send the string to the resource. If null, the default is GET
- timeout
- Optional. The number of seconds to wait for a response to the request.