Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ProxySupportsConnectionAuth()

static bool System.Net.Http.AuthenticationHelper.ProxySupportsConnectionAuth ( HttpResponseMessage response)
inlinestaticprivate

Definition at line 617 of file AuthenticationHelper.cs.

618 {
619 if (!response.Headers.TryGetValues(KnownHeaders.ProxySupport.Descriptor, out var values))
620 {
621 return false;
622 }
623 foreach (string item in values)
624 {
625 if (item == "Session-Based-Authentication")
626 {
627 return true;
628 }
629 }
630 return false;
631 }
static readonly KnownHeader ProxySupport

References System.item, System.Net.Http.Headers.KnownHeaders.ProxySupport, and System.values.

Referenced by System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync().