コード例 #1
0
 /// <summary>
 /// Set the DELETE consumer request method.
 /// </summary>
 /// <param name="request">The consumer request source.</param>
 /// <returns>The consumer request.</returns>
 public static IConsumerRequest Delete(this IConsumerRequest request)
 {
     return(request.ForMethod("DELETE"));
 }
コード例 #2
0
 /// <summary>
 /// Set the POST consumer request method.
 /// </summary>
 /// <param name="request">The consumer request source.</param>
 /// <returns>The consumer request.</returns>
 public static IConsumerRequest Post(this IConsumerRequest request)
 {
     return(request.ForMethod("POST"));
 }
コード例 #3
0
 /// <summary>
 /// Set the GET consumer request method.
 /// </summary>
 /// <param name="request">The consumer request source.</param>
 /// <returns>The consumer request.</returns>
 public static IConsumerRequest Get(this IConsumerRequest request)
 {
     return(request.ForMethod("GET"));
 }