コード例 #1
0
 public static ValueTask <object?> ReadFromJsonAsync(
     this HttpRequest request,
     Type type,
     CancellationToken cancellationToken = default)
 {
     return(request.ReadFromJsonAsync(type, options: null, cancellationToken));
 }
コード例 #2
0
 public static ValueTask <TValue> ReadFromJsonAsync <TValue>(
     this HttpRequest request,
     CancellationToken cancellationToken = default)
 {
     return(request.ReadFromJsonAsync <TValue>(options: null, cancellationToken));
 }