Property RequestHost
- Namespace
- IntentSharp.Providers
- Assembly
- IntentSharp.dll
RequestHost
The host this provider sends its requests to, which the Request checkpoint reports as request.host, in lower
case and ASCII form (an international name in its xn-- form) with no port, and an IPv6 address without
brackets, such as api.example.com. Null, the default, when the provider cannot say: request.host is
then unknown, so an enforced rule on it refuses the call. A rule allows or refuses calls by this value, so a
provider that reports one reports the host its requests actually go to.
string? RequestHost { get; }
Property Value
- string
Remarks
A provider built on HttpProviderBase reports the host of the address it sends every request to. A chat-client provider of the IntentSharp.Extensions.AI package reports the host its chat client's metadata names.