Пример #1
0
 public static async Task <SendMessageResult> PatchAsync(
     this IBackchannel backchannel,
     string url,
     Action <IHttpRequestBuilder> configure = null)
 {
     return(await backchannel.SendAsync(url, new HttpMethod("PATCH"), configure));
 }
Пример #2
0
 public static async Task <SendMessageResult> GetAsync(
     this IBackchannel client,
     string url,
     Action <IHttpRequestBuilder> configure = null)
 {
     return(await client.SendAsync(url, HttpMethod.Get, configure));
 }
Пример #3
0
 public static async Task <SendMessageResult> DeleteAsync(
     this IBackchannel backchannel,
     string url,
     Action <IHttpRequestBuilder> configure = null)
 {
     return(await backchannel.SendAsync(url, HttpMethod.Delete, configure));
 }