Microsoft.Extensions.Http.AutoClient Namespace

Classes

AutoClientAttribute

Triggers the generation of REST APIs and provides information about the HTTP client and, optionally, the name of the dependency.

AutoClientException

The exception that's thrown when REST API requests aren't successful.

AutoClientHttpError

Holds details about an HTTP error.

AutoClientOptions

Options to configure generated REST API clients.

AutoClientOptionsValidator

Validator for AutoClientOptions.

BodyAttribute

Defines the body for the API request.

DeleteAttribute

Defines an API DELETE method.

GetAttribute

Defines an API GET method.

HeadAttribute

Defines an API HEAD method.

HeaderAttribute

Defines a header to be used in the API request.

OptionsAttribute

Defines an API OPTIONS method.

PatchAttribute

Defines an API PATCH method.

PostAttribute

Defines an API POST method.

PutAttribute

Defines an API PUT method.

QueryAttribute

Defines a query string to be used in the API request.

StaticHeaderAttribute

Defines a static header to be sent on every API request.

Enums

BodyContentType

Defines the types of encoding possible for request bodies.