Used by the framework during HTTP request startup to determine the requested domain. For internal framework use only.
Class: YetaWF.Core.Support.YetaWFManager
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
public static string GetRequestedDomain( HttpContext httpContext, Uri uri, bool loopBack, string? siteDomain, out bool overridden, out bool newSwitch );
httpContext
An instance of Microsoft.AspNetCore.Http.HttpContext associated with the current request.
uri
The URI of the current request.
loopBack
true if the current request is for the loopback address 127.0.0.1/localhost.
siteDomain
The domain name detected.
overridden
Returns whether the domain name was explicitly defined using the !Domain query string argument.
newSwitch
Returns whether this is a request for a new domain (being created).
See Also YetaWF.Core.Support.YetaWFManager ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com