Share via


RestRequest Class

Definition

The properties that make up a REST request.

public class RestRequest
type RestRequest = class
Public Class RestRequest
Inheritance
RestRequest

Constructors

RestRequest(RestRequestMethod, Uri, RestRequestAuthentication)

Initializes a new instance of RestRequest.

Properties

Authentication

The authentication information required in the request to the health provider. Please note RestRequestAuthentication is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ApiKeyAuthentication and RolloutIdentityAuthentication.

Method

The HTTP method to use for the request.

Uri

The HTTP URI to use for the request.

Applies to