Esempio n. 1
0
 public async Task <U> CallServiceAsync <U>(string serviceKey, HttpMethod method, List <KeyValuePair <string, string> > headers, List <KeyValuePair <string, string> > urlParameters, string accessToken = null)
 {
     return(await CommunicationHelper.Call <U>(await GetServiceEndpoint(serviceKey), method, headers, urlParameters, accessToken));
 }
Esempio n. 2
0
 public async Task <U> CallServiceAsync <U>(string serviceKey, HttpMethod method, List <KeyValuePair <string, string> > formUrlEncodedContent, string accessToken = null)
 {
     return(await CommunicationHelper.Call <U>(await GetServiceEndpoint(serviceKey), method, formUrlEncodedContent, accessToken));
 }
Esempio n. 3
0
        public async Task CallServiceAsync <T>(string serviceKey, HttpMethod method, List <KeyValuePair <string, string> > headers, List <KeyValuePair <string, string> > urlParameters, T bodyContent, string accessToken = null)
        {
            await CommunicationHelper.Call <T>(await GetServiceEndpoint(serviceKey), method, headers, urlParameters, bodyContent, accessToken);

            return;
        }