ParticleCloudMakeGetRequestWithAuthTestAsync Method |
Calls and if it returns a status code of Unauthorized try s to refresh the token and makes the request again
Namespace: ParticleAssembly: Particle (in Particle.dll) Version: 0.8.5.14 (0.8.5.14)
Syntaxpublic Task<RequestResponse> MakeGetRequestWithAuthTestAsync(
string method
)
Public Function MakeGetRequestWithAuthTestAsync (
method As String
) As Task(Of RequestResponse)
public:
Task<RequestResponse^>^ MakeGetRequestWithAuthTestAsync(
String^ method
)
member MakeGetRequestWithAuthTestAsync :
method : string -> Task<RequestResponse>
Parameters
- method
- Type: SystemString
The method to call
Return Value
Type:
TaskRequestResponseThe results from the request
See Also