Method GetRequestHost
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
GetRequestHost(AIRequest)
The host of the specialist provider request is routed to by its RouteTag, as that
provider reports it for the request (GetRequestHost(AIRequest)); null when the request carries no
route, its route is no longer in use, or that provider reports no host.
public string? GetRequestHost(AIRequest request)
Parameters
requestAIRequestThe request the client is about to send through the router.
Returns
- string
The host, or null.
Exceptions
- ArgumentNullException
requestis null.