예제 #1
0
 /// <summary>
 /// Get a response with header value "value": 0.07 or -3.0
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='scenario'>
 /// Send a post request with header values "scenario": "positive" or "negative"
 /// </param>
 public static HeaderResponseFloatHeaders ResponseFloat(this IHeader operations, string scenario)
 {
     return(operations.ResponseFloatAsync(scenario).GetAwaiter().GetResult());
 }