Пример #1
0
 public static async Task <OutpT> RunHttpRequestReturningPlain <OutpT>(
     this IHttpRequester r,
     string interfaceName, string methodName)
 {
     return(await r.RunHttpRequest(interfaceName, methodName, x => r.NullAwareJsonParse <OutpT>(x)));
 }
Пример #2
0
 public static async Task <OutpT> RunHttpRequestReturningPlain <InpT1, InpT2, InpT3, OutpT>(
     this IHttpRequester r,
     string interfaceName, string methodName, InpT1 inp1, InpT2 inp2, InpT3 inp3)
 {
     return(await r.RunHttpRequest(interfaceName, methodName, x => r.NullAwareJsonParse <OutpT>(x), inp1, inp2, inp3));
 }