Udostępnij za pośrednictwem


DownstreamWebApiGenericExtensions Class

Definition

Extensions for the downstream web API.

public static class DownstreamWebApiGenericExtensions
type DownstreamWebApiGenericExtensions = class
Public Module DownstreamWebApiGenericExtensions
Inheritance
DownstreamWebApiGenericExtensions

Methods

CallWebApiForUserAsync<TOutput>(IDownstreamWebApi, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Obsolete.

Call a web API endpoint with an HttpGet, and return strongly typed data.

GetForUserAsync<TInput>(IDownstreamWebApi, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Obsolete.

Call a web API with a strongly typed input, with an HttpGet.

GetForUserAsync<TOutput>(IDownstreamWebApi, String, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Obsolete.

Get a strongly typed response from the web API.

PostForUserAsync<TOutput,TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Obsolete.

Calls the web API with an HttpPost, providing strongly typed input and getting strongly typed output.

PutForUserAsync<TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Obsolete.

Calls the web API endpoint with an HttpPut, providing strongly typed input data.

PutForUserAsync<TOutput,TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Obsolete.

Calls the web API endpoint with an HttpPut, provinding strongly typed input data and getting back strongly typed data.

Applies to