ErpClientSettings Class

Settings used to manipulate requests, timeouts etc. send by the client.
Namespace: powerGate.Erp.Client
Assembly: powerGate.Erp.Client.dll

Inheritance Hierarchy

System.Object
powerGate.Erp.Client.ErpClientSettings

Syntax

1
public class ErpClientSettings

The ErpClientSettings type exposes the following members.

Constructors

Type

Description

../../../_images/method.ico ErpClientSettings()

Initializes a new instance of the ErpClientSettings class.

Properties

Type

Name

Description

../../../_images/prop.ico Uri

BaseUri

Gets or sets the service Url.

../../../_images/prop.ico Action<HttpResponseMessage>

AfterResponse

Gets or sets the action executed after the OData request.

../../../_images/prop.ico Action<HttpRequestMessage>

BeforeRequest

Gets or sets the action executed before the OData request.

../../../_images/prop.ico Action<HttpClientHandler>

OnApplyClientHandler

Gets or sets the action on HttpClientHandler.

../../../_images/prop.ico Func<HttpMessageHandler>

OnCreateMessageHandler

Called before every request and the returned handler is used to send the the requests. ATTENTION: If set, then ‘OnApplyClientHandler’ will not be called anymore!

../../../_images/prop.ico ICredentials

Credentials

Get or set the credentials to connect with the services.

../../../_images/prop.ico TimeSpan

RequestTimeout

Gets or sets the time period to wait before the request times out.

../../../_images/prop.ico PreferredUpdateMethod

PreferredUpdateMethod

Gets or sets the HTTP method (PUT or MERGE) used for updating OData entities.

See also

Reference