Class DynamicRestClientDefaults
Default values that will be added to all requests
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DynamicRestProxy.PortableHttpClient
Assembly: DynamicRestProxy.NetStandard.dll
Syntax
public sealed class DynamicRestClientDefaults
Constructors
| Improve this Doc View SourceDynamicRestClientDefaults()
ctor
Declaration
public DynamicRestClientDefaults()
Properties
| Improve this Doc View SourceAuthScheme
The Auth scheme used for AuthToken
Declaration
public string AuthScheme { get; set; }
Property Value
Type | Description |
---|---|
String |
AuthToken
Auth token to add to all requests
Declaration
public string AuthToken { get; set; }
Property Value
Type | Description |
---|---|
String |
DefaultHeaders
Default request header values
Declaration
public IDictionary<string, string> DefaultHeaders { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<String, String> |
DefaultParameters
Default parameter values
Declaration
public IDictionary<string, object> DefaultParameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<String, Object> |
UserAgent
User agent string in the format product/version
Declaration
public string UserAgent { get; set; }
Property Value
Type | Description |
---|---|
String |