| RackspaceNetConfigure Method |
Provides thread-safe accesss to Rackspace.NET's global configuration options.
Can only be called once at application start-up, before instantiating any Rackspace.NET objects.
Namespace: RackspaceAssembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public static void Configure(
Action<FlurlHttpConfigurationOptions> configureFlurl = null,
Action<JsonSerializerSettings> configureJson = null,
Action<RackspaceNetConfigurationOptions> configure = null
)
Public Shared Sub Configure (
Optional configureFlurl As Action(Of FlurlHttpConfigurationOptions) = Nothing,
Optional configureJson As Action(Of JsonSerializerSettings) = Nothing,
Optional configure As Action(Of RackspaceNetConfigurationOptions) = Nothing
)
public:
static void Configure(
Action<FlurlHttpConfigurationOptions^>^ configureFlurl = nullptr,
Action<JsonSerializerSettings^>^ configureJson = nullptr,
Action<RackspaceNetConfigurationOptions^>^ configure = nullptr
)
static member Configure :
?configureFlurl : Action<FlurlHttpConfigurationOptions> *
?configureJson : Action<JsonSerializerSettings> *
?configure : Action<RackspaceNetConfigurationOptions>
(* Defaults:
let _configureFlurl = defaultArg configureFlurl null
let _configureJson = defaultArg configureJson null
let _configure = defaultArg configure null
*)
-> unit
Parameters
- configureFlurl (Optional)
- Type: SystemActionFlurlHttpConfigurationOptions
Addtional configuration of Flurl's global settings . - configureJson (Optional)
- Type: SystemActionJsonSerializerSettings
Additional configuration of Json.NET's global settings . - configure (Optional)
- Type: SystemActionRackspaceNetConfigurationOptions
Additional configuration of Rackspace.NET's global settings.
See Also Reference
FlurlHttp.Configure(ActionFlurlHttpConfigurationOptions)
JsonConvert.DefaultSettings