Esempio n. 1
0
 internal static Task <RequestResult <TResult> > PerformRequestAsync <TBody, TResult>(
     HttpMethod method,
     string partialUri,
     IDictionary <string, string> parameters = null,
     IDictionary <string, string> headers    = null,
     TBody bodyArg = default(TBody),
     Delegates.AuthentificationDataAdder authentificationProvider = null,
     Stream outputStream = null,
     CancellationToken cancellationToken = default(CancellationToken))
     where TResult : class
     where TBody : class
 => RegularClient.PerformRequestAsync <TBody, TResult>(method,
                                                       partialUri,
                                                       parameters,
                                                       headers,
                                                       bodyArg,
                                                       authentificationProvider,
                                                       outputStream,
                                                       RegularClient.AllowedRedirectCount,
                                                       cancellationToken);