//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.Messaging { using System; using System.Net; /// /// A set of flags that can control the behavior of an individual web request. /// [Flags] public enum DirectWebRequestOptions { /// /// Indicates that default behavior is required. /// None = 0x0, /// /// Indicates that any response from the remote server, even those /// with HTTP status codes that indicate errors, should not result /// in a thrown exception. /// /// /// Even with this flag set, should /// be thrown when an HTTP protocol error occurs (i.e. timeouts). /// AcceptAllHttpResponses = 0x1, /// /// Indicates that the HTTP request must be completed entirely /// using SSL (including any redirects). /// RequireSsl = 0x2, } }