Class RequestOptions
Class that overrides/adds some options per request.
Inherited Members
Namespace: MercadoPago.Client
Assembly: MercadoPago.dll
Syntax
public class RequestOptions
Constructors
| Edit this page View SourceRequestOptions()
Initializes a new instance of the RequestOptions class.
Declaration
public RequestOptions()
Properties
| Edit this page View SourceAccessToken
Overrides your global access token configured in MercadoPagoConfig. Your access token is a credential configured to your account. You can see and/or configure your credentials here
Declaration
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomHeaders
Custom headers to send in the HTTP request.
Declaration
public IDictionary<string, string> CustomHeaders { get; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Remarks
The headers Content-Type
, Authorization
, User-Agent
,
X-Product-Id
, X-Corporation-Id
, X-Integrator-Id
and X-Platform-Id
will be disconsidered.
RetryStrategy
IRetryStrategy that will be used to the HTTP request.
Declaration
public IRetryStrategy RetryStrategy { get; set; }
Property Value
Type | Description |
---|---|
IRetryStrategy |