public static void SetFlurlSettings(this HttpRequestMessage request, FlurlHttpSettings settings)
 {
     request.Properties["FlurlSettings"] = settings;
 }
	    internal static void SetFlurlSettings(this HttpRequestMessage request, FlurlHttpSettings settings) {
			request.Properties[SETTINGS_KEY] = settings;
	    }
Esempio n. 3
0
 /// <summary>
 /// Creates a new FlurlHttpSettings object using another FlurlHttpSettings object as its default values.
 /// </summary>
 public FlurlHttpSettings(FlurlHttpSettings defaults)
 {
     _defaults = defaults;
 }
Esempio n. 4
0
 /// <summary>
 /// Creates a new instance of RedirectSettings.
 /// </summary>
 public RedirectSettings(FlurlHttpSettings settings)
 {
     _settings = settings;
 }