コード例 #1
0
 /// <summary>
 /// Set request method as <c>Patch</c>.
 /// </summary>
 /// <returns>Returns request builder for chaining.</returns>
 public static FluentHttpRequestBuilder AsPatch(this FluentHttpRequestBuilder builder) => builder.WithMethod(HttpMethodPatch);
コード例 #2
0
 /// <summary>
 /// Set request method as <c>Trace</c>.
 /// </summary>
 /// <returns>Returns request builder for chaining.</returns>
 public static FluentHttpRequestBuilder AsTrace(this FluentHttpRequestBuilder builder) => builder.WithMethod(HttpMethod.Trace);
コード例 #3
0
 /// <summary>
 /// Set request method as <c>Head</c>.
 /// </summary>
 /// <returns>Returns request builder for chaining.</returns>
 public static FluentHttpRequestBuilder AsHead(this FluentHttpRequestBuilder builder) => builder.WithMethod(HttpMethod.Head);
コード例 #4
0
 /// <summary>
 /// Set request method as <c>Options</c>.
 /// </summary>
 /// <returns>Returns request builder for chaining.</returns>
 public static FluentHttpRequestBuilder AsOptions(this FluentHttpRequestBuilder builder) => builder.WithMethod(HttpMethod.Options);
コード例 #5
0
 /// <summary>
 /// Set request method as <c>Delete</c>.
 /// </summary>
 /// <returns>Returns request builder for chaining.</returns>
 public static FluentHttpRequestBuilder AsDelete(this FluentHttpRequestBuilder builder) => builder.WithMethod(HttpMethod.Delete);
コード例 #6
0
 /// <summary>
 /// Set request method as <c>Put</c>.
 /// </summary>
 /// <returns>Returns request builder for chaining.</returns>
 public static FluentHttpRequestBuilder AsPut(this FluentHttpRequestBuilder builder) => builder.WithMethod(HttpMethod.Put);