'Declaration
Overloads Function DownloadData( _ ByVal relativeUrl As String, _ ByVal additionalHeaders As IList(Of NameValuePair(Of String)), _ Optional ByVal timeout As Nullable(Of Integer) _ ) As Task(Of Byte())
Task<byte[]> DownloadData( string relativeUrl, IList<NameValuePair<string>> additionalHeaders, Nullable<int> timeout )
Parameters
- relativeUrl
- additionalHeaders
- Extra headers to add to the request
- timeout
- The number of seconds to wait for a response to the request
Return Value
A byte array containing the body of the response from the resource