RestClient.GetAsync<T> Method

Public Function GetAsync(Of  _ 
T)( _ 
ByVal resource As String, _ 
ByVal headers As Dictionary(Of String, String) _ 
) As Task(Of T[])
This language is not supported or no code example is available.
public Task<T[]> GetAsync<T>( 
string resource
Dictionary<string, string> headers 
)
This language is not supported or no code example is available.
generic<typename T> 
public:  
Task<array< T^ >^>^ GetAsync( 
String^ resource
Dictionary<String^, String^>^ headers 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T

Parameters

resource
string

headers
Dictionary<string, string>

Return Value

Task<T[]>

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition