TCnHttpClient.BaseAddress Property

Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.

Namespace: CNClrLib.Component.HttpClient
published
 property BaseAddress: String read GetBaseAddress write SetBaseAddress;

Property Value

Type: String

The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.

When sending a HttpRequestMessage with a relative Uri, the message Uri will be added to the BaseAddress property to create an absolute Uri.