Ejemplo 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));
 }
Ejemplo 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));
 }
Ejemplo 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;
        }