Ejemplo n.º 1
0
 public static string Cancel(this CoralClient client, CoralCancellationParameters parameters)
 {
     return(client.MakeRequest(
                CoralCancellationClient.ENDPOINT, HttpMethod.Post, query: parameters.GetQueryString()
                ).Result);
 }
Ejemplo n.º 2
0
 public static async Task <string> CancelAsync(this CoralClient client, CoralCancellationParameters parameters)
 {
     return(await client.MakeRequest(
                CoralCancellationClient.ENDPOINT, HttpMethod.Post, query : parameters.GetQueryString()
                ));
 }