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