diff --git a/.gitignore b/.gitignore
index caabdf211..c0d9a49c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,4 +16,3 @@ bld/
#performance reports & sessions
*.vsp
*.psess
-/packages/MonoGame.Framework.WindowsDX.3.4.0.459/lib/net40
diff --git a/BarotraumaClient/BarotraumaClient.csproj b/Barotrauma/BarotraumaClient/BarotraumaClient.csproj
similarity index 92%
rename from BarotraumaClient/BarotraumaClient.csproj
rename to Barotrauma/BarotraumaClient/BarotraumaClient.csproj
index 5986851b1..1aaea586e 100644
--- a/BarotraumaClient/BarotraumaClient.csproj
+++ b/Barotrauma/BarotraumaClient/BarotraumaClient.csproj
@@ -34,7 +34,7 @@
true
full
false
- bin\Windows\Debug\
+ ..\bin\Windows\Debug\
TRACE;DEBUG;WINDOWS;CLIENT
prompt
4
@@ -44,7 +44,7 @@
x86
pdbonly
true
- bin\Windows\Release\
+ ..\bin\Windows\Release\
TRACE;WINDOWS;CLIENT
+
+
+
+
+
+
+
diff --git a/BarotraumaClient/Properties/AssemblyInfo.cs b/Barotrauma/BarotraumaClient/Properties/AssemblyInfo.cs
similarity index 100%
rename from BarotraumaClient/Properties/AssemblyInfo.cs
rename to Barotrauma/BarotraumaClient/Properties/AssemblyInfo.cs
diff --git a/BarotraumaClient/Source/Camera.cs b/Barotrauma/BarotraumaClient/Source/Camera.cs
similarity index 100%
rename from BarotraumaClient/Source/Camera.cs
rename to Barotrauma/BarotraumaClient/Source/Camera.cs
diff --git a/BarotraumaClient/Source/Characters/AI/AIController.cs b/Barotrauma/BarotraumaClient/Source/Characters/AI/AIController.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/AI/AIController.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/AI/AIController.cs
diff --git a/BarotraumaClient/Source/Characters/AI/AITarget.cs b/Barotrauma/BarotraumaClient/Source/Characters/AI/AITarget.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/AI/AITarget.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/AI/AITarget.cs
diff --git a/BarotraumaClient/Source/Characters/AI/CrewCommander.cs b/Barotrauma/BarotraumaClient/Source/Characters/AI/CrewCommander.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/AI/CrewCommander.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/AI/CrewCommander.cs
diff --git a/BarotraumaClient/Source/Characters/AI/EnemyAIController.cs b/Barotrauma/BarotraumaClient/Source/Characters/AI/EnemyAIController.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/AI/EnemyAIController.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/AI/EnemyAIController.cs
diff --git a/BarotraumaClient/Source/Characters/AI/HumanAIController.cs b/Barotrauma/BarotraumaClient/Source/Characters/AI/HumanAIController.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/AI/HumanAIController.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/AI/HumanAIController.cs
diff --git a/BarotraumaClient/Source/Characters/AICharacter.cs b/Barotrauma/BarotraumaClient/Source/Characters/AICharacter.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/AICharacter.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/AICharacter.cs
diff --git a/BarotraumaClient/Source/Characters/Animation/Ragdoll.cs b/Barotrauma/BarotraumaClient/Source/Characters/Animation/Ragdoll.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/Animation/Ragdoll.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/Animation/Ragdoll.cs
diff --git a/BarotraumaClient/Source/Characters/Attack.cs b/Barotrauma/BarotraumaClient/Source/Characters/Attack.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/Attack.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/Attack.cs
diff --git a/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreature.cs b/Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreature.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreature.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreature.cs
diff --git a/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreatureManager.cs b/Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreatureManager.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreatureManager.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreatureManager.cs
diff --git a/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreaturePrefab.cs b/Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreaturePrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreaturePrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundCreaturePrefab.cs
diff --git a/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpriteManager.cs b/Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpriteManager.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpriteManager.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpriteManager.cs
diff --git a/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpritePrefab.cs b/Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpritePrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpritePrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/BackgroundSprite/BackgroundSpritePrefab.cs
diff --git a/BarotraumaClient/Source/Characters/Character.cs b/Barotrauma/BarotraumaClient/Source/Characters/Character.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/Character.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/Character.cs
diff --git a/BarotraumaClient/Source/Characters/CharacterHUD.cs b/Barotrauma/BarotraumaClient/Source/Characters/CharacterHUD.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/CharacterHUD.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/CharacterHUD.cs
diff --git a/BarotraumaClient/Source/Characters/CharacterInfo.cs b/Barotrauma/BarotraumaClient/Source/Characters/CharacterInfo.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/CharacterInfo.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/CharacterInfo.cs
diff --git a/BarotraumaClient/Source/Characters/CharacterNetworking.cs b/Barotrauma/BarotraumaClient/Source/Characters/CharacterNetworking.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/CharacterNetworking.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/CharacterNetworking.cs
diff --git a/BarotraumaClient/Source/Characters/CharacterSound.cs b/Barotrauma/BarotraumaClient/Source/Characters/CharacterSound.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/CharacterSound.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/CharacterSound.cs
diff --git a/BarotraumaClient/Source/Characters/HUDProgressBar.cs b/Barotrauma/BarotraumaClient/Source/Characters/HUDProgressBar.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/HUDProgressBar.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/HUDProgressBar.cs
diff --git a/BarotraumaClient/Source/Characters/HuskInfection.cs b/Barotrauma/BarotraumaClient/Source/Characters/HuskInfection.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/HuskInfection.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/HuskInfection.cs
diff --git a/BarotraumaClient/Source/Characters/Jobs/JobPrefab.cs b/Barotrauma/BarotraumaClient/Source/Characters/Jobs/JobPrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/Jobs/JobPrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/Jobs/JobPrefab.cs
diff --git a/BarotraumaClient/Source/Characters/Limb.cs b/Barotrauma/BarotraumaClient/Source/Characters/Limb.cs
similarity index 100%
rename from BarotraumaClient/Source/Characters/Limb.cs
rename to Barotrauma/BarotraumaClient/Source/Characters/Limb.cs
diff --git a/BarotraumaClient/Source/DebugConsole.cs b/Barotrauma/BarotraumaClient/Source/DebugConsole.cs
similarity index 100%
rename from BarotraumaClient/Source/DebugConsole.cs
rename to Barotrauma/BarotraumaClient/Source/DebugConsole.cs
diff --git a/BarotraumaClient/Source/EventInput/EventInput.cs b/Barotrauma/BarotraumaClient/Source/EventInput/EventInput.cs
similarity index 100%
rename from BarotraumaClient/Source/EventInput/EventInput.cs
rename to Barotrauma/BarotraumaClient/Source/EventInput/EventInput.cs
diff --git a/BarotraumaClient/Source/EventInput/KeyboardDispatcher.cs b/Barotrauma/BarotraumaClient/Source/EventInput/KeyboardDispatcher.cs
similarity index 100%
rename from BarotraumaClient/Source/EventInput/KeyboardDispatcher.cs
rename to Barotrauma/BarotraumaClient/Source/EventInput/KeyboardDispatcher.cs
diff --git a/BarotraumaClient/Source/Events/Missions/Mission.cs b/Barotrauma/BarotraumaClient/Source/Events/Missions/Mission.cs
similarity index 100%
rename from BarotraumaClient/Source/Events/Missions/Mission.cs
rename to Barotrauma/BarotraumaClient/Source/Events/Missions/Mission.cs
diff --git a/BarotraumaClient/Source/Events/Missions/MissionMode.cs b/Barotrauma/BarotraumaClient/Source/Events/Missions/MissionMode.cs
similarity index 100%
rename from BarotraumaClient/Source/Events/Missions/MissionMode.cs
rename to Barotrauma/BarotraumaClient/Source/Events/Missions/MissionMode.cs
diff --git a/BarotraumaClient/Source/Fonts/ScalableFont.cs b/Barotrauma/BarotraumaClient/Source/Fonts/ScalableFont.cs
similarity index 100%
rename from BarotraumaClient/Source/Fonts/ScalableFont.cs
rename to Barotrauma/BarotraumaClient/Source/Fonts/ScalableFont.cs
diff --git a/BarotraumaClient/Source/GUI/ComponentStyle.cs b/Barotrauma/BarotraumaClient/Source/GUI/ComponentStyle.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/ComponentStyle.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/ComponentStyle.cs
diff --git a/BarotraumaClient/Source/GUI/GUI.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUI.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUI.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUI.cs
diff --git a/BarotraumaClient/Source/GUI/GUIButton.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIButton.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIButton.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIButton.cs
diff --git a/BarotraumaClient/Source/GUI/GUIComponent.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIComponent.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIComponent.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIComponent.cs
diff --git a/BarotraumaClient/Source/GUI/GUIDropDown.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIDropDown.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIDropDown.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIDropDown.cs
diff --git a/BarotraumaClient/Source/GUI/GUIFrame.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIFrame.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIFrame.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIFrame.cs
diff --git a/BarotraumaClient/Source/GUI/GUIImage.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIImage.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIImage.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIImage.cs
diff --git a/BarotraumaClient/Source/GUI/GUIListBox.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIListBox.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIListBox.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIListBox.cs
diff --git a/BarotraumaClient/Source/GUI/GUIMessage.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIMessage.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIMessage.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIMessage.cs
diff --git a/BarotraumaClient/Source/GUI/GUIMessageBox.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIMessageBox.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIMessageBox.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIMessageBox.cs
diff --git a/BarotraumaClient/Source/GUI/GUIProgressBar.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIProgressBar.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIProgressBar.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIProgressBar.cs
diff --git a/BarotraumaClient/Source/GUI/GUIScrollBar.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIScrollBar.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIScrollBar.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIScrollBar.cs
diff --git a/BarotraumaClient/Source/GUI/GUIStyle.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUIStyle.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUIStyle.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUIStyle.cs
diff --git a/BarotraumaClient/Source/GUI/GUITextBlock.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUITextBlock.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUITextBlock.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUITextBlock.cs
diff --git a/BarotraumaClient/Source/GUI/GUITextBox.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUITextBox.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUITextBox.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUITextBox.cs
diff --git a/BarotraumaClient/Source/GUI/GUITickBox.cs b/Barotrauma/BarotraumaClient/Source/GUI/GUITickBox.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/GUITickBox.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/GUITickBox.cs
diff --git a/BarotraumaClient/Source/GUI/LoadingScreen.cs b/Barotrauma/BarotraumaClient/Source/GUI/LoadingScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/GUI/LoadingScreen.cs
rename to Barotrauma/BarotraumaClient/Source/GUI/LoadingScreen.cs
diff --git a/BarotraumaClient/Source/GameMain.cs b/Barotrauma/BarotraumaClient/Source/GameMain.cs
similarity index 97%
rename from BarotraumaClient/Source/GameMain.cs
rename to Barotrauma/BarotraumaClient/Source/GameMain.cs
index de1e0d6ef..c159b74bc 100644
--- a/BarotraumaClient/Source/GameMain.cs
+++ b/Barotrauma/BarotraumaClient/Source/GameMain.cs
@@ -106,7 +106,7 @@ namespace Barotrauma
{
GraphicsDeviceManager = new GraphicsDeviceManager(this);
Window.Title = "Barotrauma";
-
+
Instance = this;
Config = new GameSettings("config.xml");
@@ -141,6 +141,12 @@ namespace Barotrauma
GraphicsHeight = Config.GraphicsHeight;
GraphicsDeviceManager.SynchronizeWithVerticalRetrace = Config.VSyncEnabled;
+ //for whatever reason, window isn't centered automatically
+ //since MonoGame 3.6 (nuget package might be broken), so
+ //let's do it manually
+ Window.Position = new Point((GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width - GraphicsWidth) / 2,
+ (GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height - GraphicsHeight) / 2);
+
GraphicsDeviceManager.HardwareModeSwitch = Config.WindowMode != WindowMode.BorderlessWindowed;
GraphicsDeviceManager.IsFullScreen = Config.WindowMode == WindowMode.Fullscreen || Config.WindowMode == WindowMode.BorderlessWindowed;
diff --git a/BarotraumaClient/Source/GameSession/CrewManager.cs b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/CrewManager.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
diff --git a/BarotraumaClient/Source/GameSession/GameMode.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameMode.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameMode.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameMode.cs
diff --git a/BarotraumaClient/Source/GameSession/GameModes/SinglePlayerMode.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/SinglePlayerMode.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameModes/SinglePlayerMode.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameModes/SinglePlayerMode.cs
diff --git a/BarotraumaClient/Source/GameSession/GameModes/TraitorManager.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/TraitorManager.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameModes/TraitorManager.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameModes/TraitorManager.cs
diff --git a/BarotraumaClient/Source/GameSession/GameModes/Tutorials/BasicTutorial.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/BasicTutorial.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameModes/Tutorials/BasicTutorial.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/BasicTutorial.cs
diff --git a/BarotraumaClient/Source/GameSession/GameModes/Tutorials/EditorTutorial.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/EditorTutorial.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameModes/Tutorials/EditorTutorial.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/EditorTutorial.cs
diff --git a/BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialMode.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialMode.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialMode.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialMode.cs
diff --git a/BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialType.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialType.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialType.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/TutorialType.cs
diff --git a/BarotraumaClient/Source/GameSession/GameSession.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameSession.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/GameSession.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/GameSession.cs
diff --git a/BarotraumaClient/Source/GameSession/HireManager.cs b/Barotrauma/BarotraumaClient/Source/GameSession/HireManager.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/HireManager.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/HireManager.cs
diff --git a/BarotraumaClient/Source/GameSession/ShiftSummary.cs b/Barotrauma/BarotraumaClient/Source/GameSession/ShiftSummary.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSession/ShiftSummary.cs
rename to Barotrauma/BarotraumaClient/Source/GameSession/ShiftSummary.cs
diff --git a/BarotraumaClient/Source/GameSettings.cs b/Barotrauma/BarotraumaClient/Source/GameSettings.cs
similarity index 100%
rename from BarotraumaClient/Source/GameSettings.cs
rename to Barotrauma/BarotraumaClient/Source/GameSettings.cs
diff --git a/BarotraumaClient/Source/Items/CharacterInventory.cs b/Barotrauma/BarotraumaClient/Source/Items/CharacterInventory.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/CharacterInventory.cs
rename to Barotrauma/BarotraumaClient/Source/Items/CharacterInventory.cs
diff --git a/BarotraumaClient/Source/Items/Components/Door.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Door.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Door.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Door.cs
diff --git a/BarotraumaClient/Source/Items/Components/ItemComponent.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/ItemComponent.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/ItemComponent.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/ItemComponent.cs
diff --git a/BarotraumaClient/Source/Items/Components/ItemContainer.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/ItemContainer.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/ItemContainer.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/ItemContainer.cs
diff --git a/BarotraumaClient/Source/Items/Components/ItemLabel.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/ItemLabel.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/ItemLabel.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/ItemLabel.cs
diff --git a/BarotraumaClient/Source/Items/Components/LightComponent.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/LightComponent.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/LightComponent.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/LightComponent.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Deconstructor.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Deconstructor.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Deconstructor.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Deconstructor.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Engine.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Engine.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Engine.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Engine.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Fabricator.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Fabricator.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Fabricator.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Fabricator.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/MiniMap.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/MiniMap.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/MiniMap.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/MiniMap.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Pump.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Pump.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Pump.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Pump.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Radar.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Radar.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Radar.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Radar.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Reactor.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Reactor.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Reactor.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Reactor.cs
diff --git a/BarotraumaClient/Source/Items/Components/Machines/Steering.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Steering.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Machines/Steering.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Machines/Steering.cs
diff --git a/BarotraumaClient/Source/Items/Components/Power/PowerContainer.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Power/PowerContainer.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Power/PowerContainer.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Power/PowerContainer.cs
diff --git a/BarotraumaClient/Source/Items/Components/Power/PowerTransfer.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Power/PowerTransfer.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Power/PowerTransfer.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Power/PowerTransfer.cs
diff --git a/BarotraumaClient/Source/Items/Components/Power/Powered.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Power/Powered.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Power/Powered.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Power/Powered.cs
diff --git a/BarotraumaClient/Source/Items/Components/Signal/Connection.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/Connection.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Signal/Connection.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Signal/Connection.cs
diff --git a/BarotraumaClient/Source/Items/Components/Signal/ConnectionPanel.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/ConnectionPanel.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Signal/ConnectionPanel.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Signal/ConnectionPanel.cs
diff --git a/BarotraumaClient/Source/Items/Components/Signal/Wire.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Signal/Wire.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Signal/Wire.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Signal/Wire.cs
diff --git a/BarotraumaClient/Source/Items/Components/StatusHUD.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/StatusHUD.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/StatusHUD.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/StatusHUD.cs
diff --git a/BarotraumaClient/Source/Items/Components/Turret.cs b/Barotrauma/BarotraumaClient/Source/Items/Components/Turret.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Components/Turret.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Components/Turret.cs
diff --git a/BarotraumaClient/Source/Items/DockingPort.cs b/Barotrauma/BarotraumaClient/Source/Items/DockingPort.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/DockingPort.cs
rename to Barotrauma/BarotraumaClient/Source/Items/DockingPort.cs
diff --git a/BarotraumaClient/Source/Items/FixRequirement.cs b/Barotrauma/BarotraumaClient/Source/Items/FixRequirement.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/FixRequirement.cs
rename to Barotrauma/BarotraumaClient/Source/Items/FixRequirement.cs
diff --git a/BarotraumaClient/Source/Items/Inventory.cs b/Barotrauma/BarotraumaClient/Source/Items/Inventory.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Inventory.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Inventory.cs
diff --git a/BarotraumaClient/Source/Items/Item.cs b/Barotrauma/BarotraumaClient/Source/Items/Item.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Item.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Item.cs
diff --git a/BarotraumaClient/Source/Items/ItemPrefab.cs b/Barotrauma/BarotraumaClient/Source/Items/ItemPrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/ItemPrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Items/ItemPrefab.cs
diff --git a/BarotraumaClient/Source/Items/Rope.cs b/Barotrauma/BarotraumaClient/Source/Items/Rope.cs
similarity index 100%
rename from BarotraumaClient/Source/Items/Rope.cs
rename to Barotrauma/BarotraumaClient/Source/Items/Rope.cs
diff --git a/BarotraumaClient/Source/Map/Explosion.cs b/Barotrauma/BarotraumaClient/Source/Map/Explosion.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Explosion.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Explosion.cs
diff --git a/BarotraumaClient/Source/Map/FireSource.cs b/Barotrauma/BarotraumaClient/Source/Map/FireSource.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/FireSource.cs
rename to Barotrauma/BarotraumaClient/Source/Map/FireSource.cs
diff --git a/BarotraumaClient/Source/Map/Gap.cs b/Barotrauma/BarotraumaClient/Source/Map/Gap.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Gap.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Gap.cs
diff --git a/BarotraumaClient/Source/Map/Hull.cs b/Barotrauma/BarotraumaClient/Source/Map/Hull.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Hull.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Hull.cs
diff --git a/BarotraumaClient/Source/Map/Levels/CaveGenerator.cs b/Barotrauma/BarotraumaClient/Source/Map/Levels/CaveGenerator.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Levels/CaveGenerator.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Levels/CaveGenerator.cs
diff --git a/BarotraumaClient/Source/Map/Levels/Level.cs b/Barotrauma/BarotraumaClient/Source/Map/Levels/Level.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Levels/Level.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Levels/Level.cs
diff --git a/BarotraumaClient/Source/Map/Levels/LevelRenderer.cs b/Barotrauma/BarotraumaClient/Source/Map/Levels/LevelRenderer.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Levels/LevelRenderer.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Levels/LevelRenderer.cs
diff --git a/BarotraumaClient/Source/Map/Levels/Ruins/RuinGenerator.cs b/Barotrauma/BarotraumaClient/Source/Map/Levels/Ruins/RuinGenerator.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Levels/Ruins/RuinGenerator.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Levels/Ruins/RuinGenerator.cs
diff --git a/BarotraumaClient/Source/Map/Levels/WaterRenderer.cs b/Barotrauma/BarotraumaClient/Source/Map/Levels/WaterRenderer.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Levels/WaterRenderer.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Levels/WaterRenderer.cs
diff --git a/BarotraumaClient/Source/Map/Levels/WrappingWall.cs b/Barotrauma/BarotraumaClient/Source/Map/Levels/WrappingWall.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Levels/WrappingWall.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Levels/WrappingWall.cs
diff --git a/BarotraumaClient/Source/Map/Lights/ConvexHull.cs b/Barotrauma/BarotraumaClient/Source/Map/Lights/ConvexHull.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Lights/ConvexHull.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Lights/ConvexHull.cs
diff --git a/BarotraumaClient/Source/Map/Lights/LightManager.cs b/Barotrauma/BarotraumaClient/Source/Map/Lights/LightManager.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Lights/LightManager.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Lights/LightManager.cs
diff --git a/BarotraumaClient/Source/Map/Lights/LightSource.cs b/Barotrauma/BarotraumaClient/Source/Map/Lights/LightSource.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Lights/LightSource.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Lights/LightSource.cs
diff --git a/BarotraumaClient/Source/Map/LinkedSubmarine.cs b/Barotrauma/BarotraumaClient/Source/Map/LinkedSubmarine.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/LinkedSubmarine.cs
rename to Barotrauma/BarotraumaClient/Source/Map/LinkedSubmarine.cs
diff --git a/BarotraumaClient/Source/Map/Map.cs b/Barotrauma/BarotraumaClient/Source/Map/Map.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Map.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Map.cs
diff --git a/BarotraumaClient/Source/Map/Map/Location.cs b/Barotrauma/BarotraumaClient/Source/Map/Map/Location.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Map/Location.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Map/Location.cs
diff --git a/BarotraumaClient/Source/Map/MapEntity.cs b/Barotrauma/BarotraumaClient/Source/Map/MapEntity.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/MapEntity.cs
rename to Barotrauma/BarotraumaClient/Source/Map/MapEntity.cs
diff --git a/BarotraumaClient/Source/Map/MapEntityPrefab.cs b/Barotrauma/BarotraumaClient/Source/Map/MapEntityPrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/MapEntityPrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Map/MapEntityPrefab.cs
diff --git a/BarotraumaClient/Source/Map/Structure.cs b/Barotrauma/BarotraumaClient/Source/Map/Structure.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Structure.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Structure.cs
diff --git a/BarotraumaClient/Source/Map/StructurePrefab.cs b/Barotrauma/BarotraumaClient/Source/Map/StructurePrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/StructurePrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Map/StructurePrefab.cs
diff --git a/BarotraumaClient/Source/Map/Submarine.cs b/Barotrauma/BarotraumaClient/Source/Map/Submarine.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/Submarine.cs
rename to Barotrauma/BarotraumaClient/Source/Map/Submarine.cs
diff --git a/BarotraumaClient/Source/Map/WayPoint.cs b/Barotrauma/BarotraumaClient/Source/Map/WayPoint.cs
similarity index 100%
rename from BarotraumaClient/Source/Map/WayPoint.cs
rename to Barotrauma/BarotraumaClient/Source/Map/WayPoint.cs
diff --git a/BarotraumaClient/Source/Networking/BanList.cs b/Barotrauma/BarotraumaClient/Source/Networking/BanList.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/BanList.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/BanList.cs
diff --git a/BarotraumaClient/Source/Networking/EntitySpawner.cs b/Barotrauma/BarotraumaClient/Source/Networking/EntitySpawner.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/EntitySpawner.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/EntitySpawner.cs
diff --git a/BarotraumaClient/Source/Networking/FileTransfer/FileReceiver.cs b/Barotrauma/BarotraumaClient/Source/Networking/FileTransfer/FileReceiver.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/FileTransfer/FileReceiver.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/FileTransfer/FileReceiver.cs
diff --git a/BarotraumaClient/Source/Networking/GameClient.cs b/Barotrauma/BarotraumaClient/Source/Networking/GameClient.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/GameClient.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/GameClient.cs
diff --git a/BarotraumaClient/Source/Networking/GameServer.cs b/Barotrauma/BarotraumaClient/Source/Networking/GameServer.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/GameServer.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/GameServer.cs
diff --git a/BarotraumaClient/Source/Networking/GameServerSettings.cs b/Barotrauma/BarotraumaClient/Source/Networking/GameServerSettings.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/GameServerSettings.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/GameServerSettings.cs
diff --git a/BarotraumaClient/Source/Networking/NetEntityEvent/ClientEntityEventManager.cs b/Barotrauma/BarotraumaClient/Source/Networking/NetEntityEvent/ClientEntityEventManager.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/NetEntityEvent/ClientEntityEventManager.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/NetEntityEvent/ClientEntityEventManager.cs
diff --git a/BarotraumaClient/Source/Networking/NetEntityEvent/NetEntityEvent.cs b/Barotrauma/BarotraumaClient/Source/Networking/NetEntityEvent/NetEntityEvent.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/NetEntityEvent/NetEntityEvent.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/NetEntityEvent/NetEntityEvent.cs
diff --git a/BarotraumaClient/Source/Networking/NetStats.cs b/Barotrauma/BarotraumaClient/Source/Networking/NetStats.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/NetStats.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/NetStats.cs
diff --git a/BarotraumaClient/Source/Networking/NetworkMember.cs b/Barotrauma/BarotraumaClient/Source/Networking/NetworkMember.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/NetworkMember.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/NetworkMember.cs
diff --git a/BarotraumaClient/Source/Networking/ServerLog.cs b/Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/ServerLog.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs
diff --git a/BarotraumaClient/Source/Networking/Voting.cs b/Barotrauma/BarotraumaClient/Source/Networking/Voting.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/Voting.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/Voting.cs
diff --git a/BarotraumaClient/Source/Networking/WhiteList.cs b/Barotrauma/BarotraumaClient/Source/Networking/WhiteList.cs
similarity index 100%
rename from BarotraumaClient/Source/Networking/WhiteList.cs
rename to Barotrauma/BarotraumaClient/Source/Networking/WhiteList.cs
diff --git a/BarotraumaClient/Source/Particles/Particle.cs b/Barotrauma/BarotraumaClient/Source/Particles/Particle.cs
similarity index 100%
rename from BarotraumaClient/Source/Particles/Particle.cs
rename to Barotrauma/BarotraumaClient/Source/Particles/Particle.cs
diff --git a/BarotraumaClient/Source/Particles/ParticleEmitter.cs b/Barotrauma/BarotraumaClient/Source/Particles/ParticleEmitter.cs
similarity index 100%
rename from BarotraumaClient/Source/Particles/ParticleEmitter.cs
rename to Barotrauma/BarotraumaClient/Source/Particles/ParticleEmitter.cs
diff --git a/BarotraumaClient/Source/Particles/ParticleManager.cs b/Barotrauma/BarotraumaClient/Source/Particles/ParticleManager.cs
similarity index 100%
rename from BarotraumaClient/Source/Particles/ParticleManager.cs
rename to Barotrauma/BarotraumaClient/Source/Particles/ParticleManager.cs
diff --git a/BarotraumaClient/Source/Particles/ParticlePrefab.cs b/Barotrauma/BarotraumaClient/Source/Particles/ParticlePrefab.cs
similarity index 100%
rename from BarotraumaClient/Source/Particles/ParticlePrefab.cs
rename to Barotrauma/BarotraumaClient/Source/Particles/ParticlePrefab.cs
diff --git a/BarotraumaClient/Source/Physics/PhysicsBody.cs b/Barotrauma/BarotraumaClient/Source/Physics/PhysicsBody.cs
similarity index 100%
rename from BarotraumaClient/Source/Physics/PhysicsBody.cs
rename to Barotrauma/BarotraumaClient/Source/Physics/PhysicsBody.cs
diff --git a/BarotraumaClient/Source/PlayerInput.cs b/Barotrauma/BarotraumaClient/Source/PlayerInput.cs
similarity index 100%
rename from BarotraumaClient/Source/PlayerInput.cs
rename to Barotrauma/BarotraumaClient/Source/PlayerInput.cs
diff --git a/BarotraumaClient/Source/Program.cs b/Barotrauma/BarotraumaClient/Source/Program.cs
similarity index 100%
rename from BarotraumaClient/Source/Program.cs
rename to Barotrauma/BarotraumaClient/Source/Program.cs
diff --git a/BarotraumaClient/Source/Screens/BlurEffect.cs b/Barotrauma/BarotraumaClient/Source/Screens/BlurEffect.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/BlurEffect.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/BlurEffect.cs
diff --git a/BarotraumaClient/Source/Screens/EditCharacterScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/EditCharacterScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/EditCharacterScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/EditCharacterScreen.cs
diff --git a/BarotraumaClient/Source/Screens/EditMapScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/EditMapScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/EditMapScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/EditMapScreen.cs
diff --git a/BarotraumaClient/Source/Screens/GameScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/GameScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/GameScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/GameScreen.cs
diff --git a/BarotraumaClient/Source/Screens/LobbyScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/LobbyScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/LobbyScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/LobbyScreen.cs
diff --git a/BarotraumaClient/Source/Screens/MainMenuScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/MainMenuScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/MainMenuScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/MainMenuScreen.cs
diff --git a/BarotraumaClient/Source/Screens/NetLobbyScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/NetLobbyScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/NetLobbyScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/NetLobbyScreen.cs
diff --git a/BarotraumaClient/Source/Screens/Screen.cs b/Barotrauma/BarotraumaClient/Source/Screens/Screen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/Screen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/Screen.cs
diff --git a/BarotraumaClient/Source/Screens/ServerListScreen.cs b/Barotrauma/BarotraumaClient/Source/Screens/ServerListScreen.cs
similarity index 100%
rename from BarotraumaClient/Source/Screens/ServerListScreen.cs
rename to Barotrauma/BarotraumaClient/Source/Screens/ServerListScreen.cs
diff --git a/BarotraumaClient/Source/Sounds/OggSound.cs b/Barotrauma/BarotraumaClient/Source/Sounds/OggSound.cs
similarity index 100%
rename from BarotraumaClient/Source/Sounds/OggSound.cs
rename to Barotrauma/BarotraumaClient/Source/Sounds/OggSound.cs
diff --git a/BarotraumaClient/Source/Sounds/OggStream.cs b/Barotrauma/BarotraumaClient/Source/Sounds/OggStream.cs
similarity index 100%
rename from BarotraumaClient/Source/Sounds/OggStream.cs
rename to Barotrauma/BarotraumaClient/Source/Sounds/OggStream.cs
diff --git a/BarotraumaClient/Source/Sounds/Sound.cs b/Barotrauma/BarotraumaClient/Source/Sounds/Sound.cs
similarity index 100%
rename from BarotraumaClient/Source/Sounds/Sound.cs
rename to Barotrauma/BarotraumaClient/Source/Sounds/Sound.cs
diff --git a/BarotraumaClient/Source/Sounds/SoundManager.cs b/Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs
similarity index 100%
rename from BarotraumaClient/Source/Sounds/SoundManager.cs
rename to Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs
diff --git a/BarotraumaClient/Source/Sounds/SoundPlayer.cs b/Barotrauma/BarotraumaClient/Source/Sounds/SoundPlayer.cs
similarity index 100%
rename from BarotraumaClient/Source/Sounds/SoundPlayer.cs
rename to Barotrauma/BarotraumaClient/Source/Sounds/SoundPlayer.cs
diff --git a/BarotraumaClient/Source/Sprite/Sprite.cs b/Barotrauma/BarotraumaClient/Source/Sprite/Sprite.cs
similarity index 100%
rename from BarotraumaClient/Source/Sprite/Sprite.cs
rename to Barotrauma/BarotraumaClient/Source/Sprite/Sprite.cs
diff --git a/BarotraumaClient/Source/Sprite/SpriteSheet.cs b/Barotrauma/BarotraumaClient/Source/Sprite/SpriteSheet.cs
similarity index 100%
rename from BarotraumaClient/Source/Sprite/SpriteSheet.cs
rename to Barotrauma/BarotraumaClient/Source/Sprite/SpriteSheet.cs
diff --git a/BarotraumaClient/Source/Utils/MathUtils.cs b/Barotrauma/BarotraumaClient/Source/Utils/MathUtils.cs
similarity index 100%
rename from BarotraumaClient/Source/Utils/MathUtils.cs
rename to Barotrauma/BarotraumaClient/Source/Utils/MathUtils.cs
diff --git a/BarotraumaClient/Source/Utils/SaveUtil.cs b/Barotrauma/BarotraumaClient/Source/Utils/SaveUtil.cs
similarity index 100%
rename from BarotraumaClient/Source/Utils/SaveUtil.cs
rename to Barotrauma/BarotraumaClient/Source/Utils/SaveUtil.cs
diff --git a/BarotraumaClient/Source/Utils/TextureLoader.cs b/Barotrauma/BarotraumaClient/Source/Utils/TextureLoader.cs
similarity index 100%
rename from BarotraumaClient/Source/Utils/TextureLoader.cs
rename to Barotrauma/BarotraumaClient/Source/Utils/TextureLoader.cs
diff --git a/BarotraumaClient/Source/Utils/ToolBox.cs b/Barotrauma/BarotraumaClient/Source/Utils/ToolBox.cs
similarity index 100%
rename from BarotraumaClient/Source/Utils/ToolBox.cs
rename to Barotrauma/BarotraumaClient/Source/Utils/ToolBox.cs
diff --git a/BarotraumaClient/freetype6.dll b/Barotrauma/BarotraumaClient/freetype6.dll
similarity index 100%
rename from BarotraumaClient/freetype6.dll
rename to Barotrauma/BarotraumaClient/freetype6.dll
diff --git a/Barotrauma/BarotraumaClient/packages.config b/Barotrauma/BarotraumaClient/packages.config
new file mode 100644
index 000000000..826869719
--- /dev/null
+++ b/Barotrauma/BarotraumaClient/packages.config
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BarotraumaClient/wrap_oal.dll b/Barotrauma/BarotraumaClient/wrap_oal.dll
similarity index 100%
rename from BarotraumaClient/wrap_oal.dll
rename to Barotrauma/BarotraumaClient/wrap_oal.dll
diff --git a/BarotraumaServer/BarotraumaServer.csproj b/Barotrauma/BarotraumaServer/BarotraumaServer.csproj
similarity index 89%
rename from BarotraumaServer/BarotraumaServer.csproj
rename to Barotrauma/BarotraumaServer/BarotraumaServer.csproj
index 1d4dd4973..aa93102bf 100644
--- a/BarotraumaServer/BarotraumaServer.csproj
+++ b/Barotrauma/BarotraumaServer/BarotraumaServer.csproj
@@ -30,7 +30,7 @@
true
- bin\x86\Debug\
+ ..\bin\Windows\Debug\
TRACE;DEBUG;WINDOWS;SERVER
full
x86
@@ -39,7 +39,7 @@
true
- bin\x86\Release\
+ ..\bin\Windows\Release\
TRACE;WINDOWS;SERVER
true
pdbonly
@@ -52,8 +52,9 @@
..\BarotraumaShared\Icon.ico
-
- ..\packages\RestSharp.105.2.3\lib\net45\RestSharp.dll
+
+ False
+ ..\..\Libraries\NuGet\RestSharp.105.2.3\lib\net45\RestSharp.dll
@@ -91,18 +92,15 @@
-
-
-
-
+
{a4610e4c-dd34-428b-babb-779ca0b5993a}
Farseer Physics
-
+
{3b8f9edb-6e5e-450c-abc2-ec49075d0b50}
Hyper.ComponentModel
-
+
{49ba1c69-6104-41ac-a5d8-b54fa9f696e8}
Lidgren.Network
@@ -122,6 +120,9 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/Launcher2/Program.cs b/Barotrauma/Launcher/Program.cs
similarity index 96%
rename from Launcher2/Program.cs
rename to Barotrauma/Launcher/Program.cs
index e308801da..1925b741c 100644
--- a/Launcher2/Program.cs
+++ b/Barotrauma/Launcher/Program.cs
@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Linq;
#endregion
-namespace Launcher2
+namespace Launcher
{
#if WINDOWS || LINUX
///
diff --git a/Launcher2/Properties/AssemblyInfo.cs b/Barotrauma/Launcher/Properties/AssemblyInfo.cs
similarity index 100%
rename from Launcher2/Properties/AssemblyInfo.cs
rename to Barotrauma/Launcher/Properties/AssemblyInfo.cs
diff --git a/Barotrauma/Launcher/packages.config b/Barotrauma/Launcher/packages.config
new file mode 100644
index 000000000..826869719
--- /dev/null
+++ b/Barotrauma/Launcher/packages.config
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BarotraumaServer/App.config b/BarotraumaServer/App.config
deleted file mode 100644
index d1428ad71..000000000
--- a/BarotraumaServer/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/BarotraumaShared/Content/damageshader.xnb b/BarotraumaShared/Content/damageshader.xnb
deleted file mode 100644
index 88484654f..000000000
Binary files a/BarotraumaShared/Content/damageshader.xnb and /dev/null differ
diff --git a/BarotraumaShared/Content/effects.mgfx b/BarotraumaShared/Content/effects.mgfx
deleted file mode 100644
index 613c88437..000000000
Binary files a/BarotraumaShared/Content/effects.mgfx and /dev/null differ
diff --git a/BarotraumaShared/Content/watershader.xnb b/BarotraumaShared/Content/watershader.xnb
deleted file mode 100644
index 1225ee689..000000000
Binary files a/BarotraumaShared/Content/watershader.xnb and /dev/null differ
diff --git a/BarotraumaShared/packages.config b/BarotraumaShared/packages.config
deleted file mode 100644
index 065671582..000000000
--- a/BarotraumaShared/packages.config
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Barotrauma_Solution.sln b/Barotrauma_Solution.sln
index 7237fb4c8..7a68d0beb 100644
--- a/Barotrauma_Solution.sln
+++ b/Barotrauma_Solution.sln
@@ -3,42 +3,46 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarotraumaClient", "BarotraumaClient\BarotraumaClient.csproj", "{008C0F83-E914-4966-9135-EA885059EDD8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarotraumaClient", "Barotrauma\BarotraumaClient\BarotraumaClient.csproj", "{008C0F83-E914-4966-9135-EA885059EDD8}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Farseer Physics MonoGame", "Libraries\Farseer Physics Engine 3.5\Farseer Physics MonoGame.csproj", "{0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lidgren.Network", "Libraries\Lidgren.Network\Lidgren.Network.csproj", "{49BA1C69-6104-41AC-A5D8-B54FA9F696E8}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Launcher", "Barotrauma\Launcher\Launcher.csproj", "{251AAFE1-F24B-4837-9128-9D04FCBFD528}"
ProjectSection(ProjectDependencies) = postProject
- {C293DB32-FA42-486D-B128-5A12522FAE4E} = {C293DB32-FA42-486D-B128-5A12522FAE4E}
+ {85232B20-074D-4723-B0C6-91495391E448} = {85232B20-074D-4723-B0C6-91495391E448}
+ {008C0F83-E914-4966-9135-EA885059EDD8} = {008C0F83-E914-4966-9135-EA885059EDD8}
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Farseer Physics MonoGame", "Farseer Physics Engine 3.5\Farseer Physics MonoGame.csproj", "{0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lidgren.Network", "Lidgren.Network\Lidgren.Network.csproj", "{49BA1C69-6104-41AC-A5D8-B54FA9F696E8}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Launcher", "Launcher2\Launcher.csproj", "{251AAFE1-F24B-4837-9128-9D04FCBFD528}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D32A29D8-AC7B-4189-B734-8ED9EB4120D0}"
+ ProjectSection(SolutionItems) = preProject
+ NuGet.Config = NuGet.Config
+ EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hyper.ComponentModel", "Hyper.ComponentModel\Hyper.ComponentModel.csproj", "{3B8F9EDB-6E5E-450C-ABC2-EC49075D0B50}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hyper.ComponentModel", "Libraries\Hyper.ComponentModel\Hyper.ComponentModel.csproj", "{3B8F9EDB-6E5E-450C-ABC2-EC49075D0B50}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpFont", "SharpFont\Source\SharpFont\SharpFont.csproj", "{C293DB32-FA42-486D-B128-5A12522FAE4E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpFont", "Libraries\SharpFont\Source\SharpFont\SharpFont.csproj", "{C293DB32-FA42-486D-B128-5A12522FAE4E}"
EndProject
-Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SharpFontShared", "SharpFont\Source\SharpFontShared\SharpFontShared.shproj", "{2E4773B7-961A-4328-9D77-9749F9071CA2}"
+Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SharpFontShared", "Libraries\SharpFont\Source\SharpFontShared\SharpFontShared.shproj", "{2E4773B7-961A-4328-9D77-9749F9071CA2}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarotraumaServer", "BarotraumaServer\BarotraumaServer.csproj", "{85232B20-074D-4723-B0C6-91495391E448}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarotraumaServer", "Barotrauma\BarotraumaServer\BarotraumaServer.csproj", "{85232B20-074D-4723-B0C6-91495391E448}"
EndProject
-Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BarotraumaShared", "BarotraumaShared\BarotraumaShared.shproj", "{561357C2-DB28-4E01-B275-6BF545F70491}"
+Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BarotraumaShared", "Barotrauma\BarotraumaShared\BarotraumaShared.shproj", "{561357C2-DB28-4E01-B275-6BF545F70491}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Barotrauma", "Barotrauma", "{F35DF9BF-0BED-4FEF-A51C-DD83C531882F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Libraries", "Libraries", "{DE36F45F-F09E-4719-B953-00D148F7722A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Farseer Physics", "Farseer Physics Engine 3.5\Farseer Physics.csproj", "{A4610E4C-DD34-428B-BABB-779CA0B5993A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Farseer Physics", "Libraries\Farseer Physics Engine 3.5\Farseer Physics.csproj", "{A4610E4C-DD34-428B-BABB-779CA0B5993A}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
- BarotraumaShared\BarotraumaShared.projitems*{008c0f83-e914-4966-9135-ea885059edd8}*SharedItemsImports = 4
- SharpFont\Source\SharpFontShared\SharpFontShared.projitems*{2e4773b7-961a-4328-9d77-9749f9071ca2}*SharedItemsImports = 13
- BarotraumaShared\BarotraumaShared.projitems*{561357c2-db28-4e01-b275-6bf545f70491}*SharedItemsImports = 13
- BarotraumaShared\BarotraumaShared.projitems*{85232b20-074d-4723-b0c6-91495391e448}*SharedItemsImports = 4
- SharpFont\Source\SharpFontShared\SharpFontShared.projitems*{c293db32-fa42-486d-b128-5a12522fae4e}*SharedItemsImports = 4
+ Barotrauma\BarotraumaShared\BarotraumaShared.projitems*{008c0f83-e914-4966-9135-ea885059edd8}*SharedItemsImports = 4
+ Libraries\SharpFont\Source\SharpFontShared\SharpFontShared.projitems*{2e4773b7-961a-4328-9d77-9749f9071ca2}*SharedItemsImports = 13
+ Barotrauma\BarotraumaShared\BarotraumaShared.projitems*{561357c2-db28-4e01-b275-6bf545f70491}*SharedItemsImports = 13
+ Barotrauma\BarotraumaShared\BarotraumaShared.projitems*{85232b20-074d-4723-b0c6-91495391e448}*SharedItemsImports = 4
+ Libraries\SharpFont\Source\SharpFontShared\SharpFontShared.projitems*{c293db32-fa42-486d-b128-5a12522fae4e}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Android|Any CPU = Android|Any CPU
diff --git a/Farseer Physics Engine 3.5/Farseer Physics Engine.v12.suo b/Farseer Physics Engine 3.5/Farseer Physics Engine.v12.suo
deleted file mode 100644
index 7d0e3e068..000000000
Binary files a/Farseer Physics Engine 3.5/Farseer Physics Engine.v12.suo and /dev/null differ
diff --git a/Launcher2/Content/Content.mgcb b/Launcher2/Content/Content.mgcb
deleted file mode 100644
index ccb6d33b2..000000000
--- a/Launcher2/Content/Content.mgcb
+++ /dev/null
@@ -1,15 +0,0 @@
-
-#----------------------------- Global Properties ----------------------------#
-
-/outputDir:bin/Windows
-/intermediateDir:obj/Windows
-/platform:Windows
-/config:
-/profile:Reach
-/compress:False
-
-#-------------------------------- References --------------------------------#
-
-
-#---------------------------------- Content ---------------------------------#
-
diff --git a/Farseer Physics Engine 3.5/Collision/Collision.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Collision.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Collision.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Collision.cs
diff --git a/Farseer Physics Engine 3.5/Collision/Distance.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Distance.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Distance.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Distance.cs
diff --git a/Farseer Physics Engine 3.5/Collision/DynamicTree.cs b/Libraries/Farseer Physics Engine 3.5/Collision/DynamicTree.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/DynamicTree.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/DynamicTree.cs
diff --git a/Farseer Physics Engine 3.5/Collision/DynamicTreeBroadPhase.cs b/Libraries/Farseer Physics Engine 3.5/Collision/DynamicTreeBroadPhase.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/DynamicTreeBroadPhase.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/DynamicTreeBroadPhase.cs
diff --git a/Farseer Physics Engine 3.5/Collision/IBroadPhase.cs b/Libraries/Farseer Physics Engine 3.5/Collision/IBroadPhase.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/IBroadPhase.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/IBroadPhase.cs
diff --git a/Farseer Physics Engine 3.5/Collision/Shapes/ChainShape.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Shapes/ChainShape.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Shapes/ChainShape.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Shapes/ChainShape.cs
diff --git a/Farseer Physics Engine 3.5/Collision/Shapes/CircleShape.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Shapes/CircleShape.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Shapes/CircleShape.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Shapes/CircleShape.cs
diff --git a/Farseer Physics Engine 3.5/Collision/Shapes/EdgeShape.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Shapes/EdgeShape.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Shapes/EdgeShape.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Shapes/EdgeShape.cs
diff --git a/Farseer Physics Engine 3.5/Collision/Shapes/PolygonShape.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Shapes/PolygonShape.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Shapes/PolygonShape.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Shapes/PolygonShape.cs
diff --git a/Farseer Physics Engine 3.5/Collision/Shapes/Shape.cs b/Libraries/Farseer Physics Engine 3.5/Collision/Shapes/Shape.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/Shapes/Shape.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/Shapes/Shape.cs
diff --git a/Farseer Physics Engine 3.5/Collision/TimeOfImpact.cs b/Libraries/Farseer Physics Engine 3.5/Collision/TimeOfImpact.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Collision/TimeOfImpact.cs
rename to Libraries/Farseer Physics Engine 3.5/Collision/TimeOfImpact.cs
diff --git a/Farseer Physics Engine 3.5/Common/ConvexHull/ChainHull.cs b/Libraries/Farseer Physics Engine 3.5/Common/ConvexHull/ChainHull.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/ConvexHull/ChainHull.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/ConvexHull/ChainHull.cs
diff --git a/Farseer Physics Engine 3.5/Common/ConvexHull/GiftWrap.cs b/Libraries/Farseer Physics Engine 3.5/Common/ConvexHull/GiftWrap.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/ConvexHull/GiftWrap.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/ConvexHull/GiftWrap.cs
diff --git a/Farseer Physics Engine 3.5/Common/ConvexHull/Melkman.cs b/Libraries/Farseer Physics Engine 3.5/Common/ConvexHull/Melkman.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/ConvexHull/Melkman.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/ConvexHull/Melkman.cs
diff --git a/Farseer Physics Engine 3.5/Common/Curve.cs b/Libraries/Farseer Physics Engine 3.5/Common/Curve.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Curve.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Curve.cs
diff --git a/Farseer Physics Engine 3.5/Common/CurveKey.cs b/Libraries/Farseer Physics Engine 3.5/Common/CurveKey.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/CurveKey.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/CurveKey.cs
diff --git a/Farseer Physics Engine 3.5/Common/CurveKeyCollection.cs b/Libraries/Farseer Physics Engine 3.5/Common/CurveKeyCollection.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/CurveKeyCollection.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/CurveKeyCollection.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/BayazitDecomposer.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/BayazitDecomposer.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/BayazitDecomposer.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/BayazitDecomposer.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/DelaunayTriangle.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/DelaunayTriangle.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/DelaunayTriangle.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/DelaunayTriangle.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFront.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFront.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFront.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFront.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFrontNode.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFrontNode.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFrontNode.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/AdvancingFrontNode.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweep.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweep.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweep.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweep.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepConstraint.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepConstraint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepConstraint.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepConstraint.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepContext.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepContext.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepContext.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepContext.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepPointComparator.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepPointComparator.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepPointComparator.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/DTSweepPointComparator.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/PointOnEdgeException.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/PointOnEdgeException.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/PointOnEdgeException.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Delaunay/Sweep/PointOnEdgeException.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/ITriangulatable.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/ITriangulatable.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/ITriangulatable.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/ITriangulatable.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Orientation.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Orientation.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Orientation.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Orientation.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/Polygon.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/Polygon.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/Polygon.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/Polygon.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonPoint.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonPoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonPoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonPoint.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonSet.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonSet.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonSet.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Polygon/PolygonSet.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/ConstrainedPointSet.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/ConstrainedPointSet.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/ConstrainedPointSet.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/ConstrainedPointSet.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/PointSet.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/PointSet.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/PointSet.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Sets/PointSet.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationConstraint.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationConstraint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationConstraint.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationConstraint.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationContext.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationContext.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationContext.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationContext.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationMode.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationMode.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationMode.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationMode.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationPoint.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationPoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationPoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationPoint.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationUtil.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationUtil.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationUtil.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/TriangulationUtil.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedArray3.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedArray3.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedArray3.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedArray3.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedBitArray3.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedBitArray3.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedBitArray3.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/FixedBitArray3.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PointGenerator.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PointGenerator.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PointGenerator.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PointGenerator.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PolygonGenerator.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PolygonGenerator.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PolygonGenerator.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDT/Util/PolygonGenerator.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/CDTDecomposer.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDTDecomposer.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/CDTDecomposer.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/CDTDecomposer.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/EarclipDecomposer.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/EarclipDecomposer.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/EarclipDecomposer.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/EarclipDecomposer.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/FlipcodeDecomposer.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/FlipcodeDecomposer.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/FlipcodeDecomposer.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/FlipcodeDecomposer.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Edge.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Edge.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Edge.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Edge.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/MonotoneMountain.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/MonotoneMountain.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/MonotoneMountain.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/MonotoneMountain.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Node.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Node.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Node.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Node.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Point.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Point.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Point.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Point.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/QueryGraph.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/QueryGraph.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/QueryGraph.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/QueryGraph.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Sink.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Sink.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Sink.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Sink.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Trapezoid.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Trapezoid.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Trapezoid.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Trapezoid.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/TrapezoidalMap.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/TrapezoidalMap.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/TrapezoidalMap.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/TrapezoidalMap.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Triangulator.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Triangulator.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Triangulator.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/Triangulator.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/XNode.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/XNode.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/XNode.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/XNode.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/YNode.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/YNode.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Seidel/YNode.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Seidel/YNode.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/SeidelDecomposer.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/SeidelDecomposer.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/SeidelDecomposer.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/SeidelDecomposer.cs
diff --git a/Farseer Physics Engine 3.5/Common/Decomposition/Triangulate.cs b/Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Triangulate.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Decomposition/Triangulate.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Decomposition/Triangulate.cs
diff --git a/Farseer Physics Engine 3.5/Common/FixedArray.cs b/Libraries/Farseer Physics Engine 3.5/Common/FixedArray.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/FixedArray.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/FixedArray.cs
diff --git a/Farseer Physics Engine 3.5/Common/HashSet.cs b/Libraries/Farseer Physics Engine 3.5/Common/HashSet.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/HashSet.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/HashSet.cs
diff --git a/Farseer Physics Engine 3.5/Common/LineTools.cs b/Libraries/Farseer Physics Engine 3.5/Common/LineTools.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/LineTools.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/LineTools.cs
diff --git a/Farseer Physics Engine 3.5/Common/Math.cs b/Libraries/Farseer Physics Engine 3.5/Common/Math.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Math.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Math.cs
diff --git a/Farseer Physics Engine 3.5/Common/MathHelper.cs b/Libraries/Farseer Physics Engine 3.5/Common/MathHelper.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/MathHelper.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/MathHelper.cs
diff --git a/Farseer Physics Engine 3.5/Common/Matrix.cs b/Libraries/Farseer Physics Engine 3.5/Common/Matrix.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Matrix.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Matrix.cs
diff --git a/Farseer Physics Engine 3.5/Common/Path.cs b/Libraries/Farseer Physics Engine 3.5/Common/Path.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Path.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Path.cs
diff --git a/Farseer Physics Engine 3.5/Common/PathManager.cs b/Libraries/Farseer Physics Engine 3.5/Common/PathManager.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PathManager.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PathManager.cs
diff --git a/Farseer Physics Engine 3.5/Common/PhysicsLogic/FilterData.cs b/Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/FilterData.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PhysicsLogic/FilterData.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/FilterData.cs
diff --git a/Farseer Physics Engine 3.5/Common/PhysicsLogic/PhysicsLogic.cs b/Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/PhysicsLogic.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PhysicsLogic/PhysicsLogic.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/PhysicsLogic.cs
diff --git a/Farseer Physics Engine 3.5/Common/PhysicsLogic/RealExplosion.cs b/Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/RealExplosion.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PhysicsLogic/RealExplosion.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/RealExplosion.cs
diff --git a/Farseer Physics Engine 3.5/Common/PhysicsLogic/SimpleExplosion.cs b/Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/SimpleExplosion.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PhysicsLogic/SimpleExplosion.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PhysicsLogic/SimpleExplosion.cs
diff --git a/Farseer Physics Engine 3.5/Common/PolygonManipulation/CuttingTools.cs b/Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/CuttingTools.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PolygonManipulation/CuttingTools.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/CuttingTools.cs
diff --git a/Farseer Physics Engine 3.5/Common/PolygonManipulation/SimpleCombiner.cs b/Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/SimpleCombiner.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PolygonManipulation/SimpleCombiner.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/SimpleCombiner.cs
diff --git a/Farseer Physics Engine 3.5/Common/PolygonManipulation/SimplifyTools.cs b/Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/SimplifyTools.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PolygonManipulation/SimplifyTools.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/SimplifyTools.cs
diff --git a/Farseer Physics Engine 3.5/Common/PolygonManipulation/YuPengClipper.cs b/Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/YuPengClipper.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PolygonManipulation/YuPengClipper.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PolygonManipulation/YuPengClipper.cs
diff --git a/Farseer Physics Engine 3.5/Common/PolygonTools.cs b/Libraries/Farseer Physics Engine 3.5/Common/PolygonTools.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/PolygonTools.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/PolygonTools.cs
diff --git a/Farseer Physics Engine 3.5/Common/Serialization.cs b/Libraries/Farseer Physics Engine 3.5/Common/Serialization.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Serialization.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Serialization.cs
diff --git a/Farseer Physics Engine 3.5/Common/Stopwatch.cs b/Libraries/Farseer Physics Engine 3.5/Common/Stopwatch.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Stopwatch.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Stopwatch.cs
diff --git a/Farseer Physics Engine 3.5/Common/TextureTools/MarchingSquares.cs b/Libraries/Farseer Physics Engine 3.5/Common/TextureTools/MarchingSquares.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/TextureTools/MarchingSquares.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/TextureTools/MarchingSquares.cs
diff --git a/Farseer Physics Engine 3.5/Common/TextureTools/Terrain.cs b/Libraries/Farseer Physics Engine 3.5/Common/TextureTools/Terrain.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/TextureTools/Terrain.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/TextureTools/Terrain.cs
diff --git a/Farseer Physics Engine 3.5/Common/TextureTools/TextureConverter.cs b/Libraries/Farseer Physics Engine 3.5/Common/TextureTools/TextureConverter.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/TextureTools/TextureConverter.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/TextureTools/TextureConverter.cs
diff --git a/Farseer Physics Engine 3.5/Common/Vector2.cs b/Libraries/Farseer Physics Engine 3.5/Common/Vector2.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Vector2.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Vector2.cs
diff --git a/Farseer Physics Engine 3.5/Common/Vector3.cs b/Libraries/Farseer Physics Engine 3.5/Common/Vector3.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Vector3.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Vector3.cs
diff --git a/Farseer Physics Engine 3.5/Common/Vertices.cs b/Libraries/Farseer Physics Engine 3.5/Common/Vertices.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Common/Vertices.cs
rename to Libraries/Farseer Physics Engine 3.5/Common/Vertices.cs
diff --git a/Farseer Physics Engine 3.5/Controllers/AbstractForceController.cs b/Libraries/Farseer Physics Engine 3.5/Controllers/AbstractForceController.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Controllers/AbstractForceController.cs
rename to Libraries/Farseer Physics Engine 3.5/Controllers/AbstractForceController.cs
diff --git a/Farseer Physics Engine 3.5/Controllers/BuoyancyController.cs b/Libraries/Farseer Physics Engine 3.5/Controllers/BuoyancyController.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Controllers/BuoyancyController.cs
rename to Libraries/Farseer Physics Engine 3.5/Controllers/BuoyancyController.cs
diff --git a/Farseer Physics Engine 3.5/Controllers/Controller.cs b/Libraries/Farseer Physics Engine 3.5/Controllers/Controller.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Controllers/Controller.cs
rename to Libraries/Farseer Physics Engine 3.5/Controllers/Controller.cs
diff --git a/Farseer Physics Engine 3.5/Controllers/GravityController.cs b/Libraries/Farseer Physics Engine 3.5/Controllers/GravityController.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Controllers/GravityController.cs
rename to Libraries/Farseer Physics Engine 3.5/Controllers/GravityController.cs
diff --git a/Farseer Physics Engine 3.5/Controllers/SimpleWindForce.cs b/Libraries/Farseer Physics Engine 3.5/Controllers/SimpleWindForce.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Controllers/SimpleWindForce.cs
rename to Libraries/Farseer Physics Engine 3.5/Controllers/SimpleWindForce.cs
diff --git a/Farseer Physics Engine 3.5/Controllers/VelocityLimitController.cs b/Libraries/Farseer Physics Engine 3.5/Controllers/VelocityLimitController.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Controllers/VelocityLimitController.cs
rename to Libraries/Farseer Physics Engine 3.5/Controllers/VelocityLimitController.cs
diff --git a/Farseer Physics Engine 3.5/ConvertUnits.cs b/Libraries/Farseer Physics Engine 3.5/ConvertUnits.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/ConvertUnits.cs
rename to Libraries/Farseer Physics Engine 3.5/ConvertUnits.cs
diff --git a/Farseer Physics Engine 3.5/DebugViewBase.cs b/Libraries/Farseer Physics Engine 3.5/DebugViewBase.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/DebugViewBase.cs
rename to Libraries/Farseer Physics Engine 3.5/DebugViewBase.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Body.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Body.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Body.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Body.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/BreakableBody.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/BreakableBody.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/BreakableBody.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/BreakableBody.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/ContactManager.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/ContactManager.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/ContactManager.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/ContactManager.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Contacts/Contact.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Contacts/Contact.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Contacts/Contact.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Contacts/Contact.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Contacts/ContactSolver.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Contacts/ContactSolver.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Contacts/ContactSolver.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Contacts/ContactSolver.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Fixture.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Fixture.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Fixture.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Fixture.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Island.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Island.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Island.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Island.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/AngleJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/AngleJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/AngleJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/AngleJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/DistanceJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/DistanceJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/DistanceJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/DistanceJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/FixedMouseJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/FixedMouseJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/FixedMouseJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/FixedMouseJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/FrictionJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/FrictionJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/FrictionJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/FrictionJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/GearJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/GearJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/GearJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/GearJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/Joint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/Joint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/Joint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/Joint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/MotorJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/MotorJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/MotorJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/MotorJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/PrismaticJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/PrismaticJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/PrismaticJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/PrismaticJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/PulleyJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/PulleyJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/PulleyJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/PulleyJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/RevoluteJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/RevoluteJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/RevoluteJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/RevoluteJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/RopeJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/RopeJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/RopeJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/RopeJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/WeldJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/WeldJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/WeldJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/WeldJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/Joints/WheelJoint.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/WheelJoint.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/Joints/WheelJoint.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/Joints/WheelJoint.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/TimeStep.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/TimeStep.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/TimeStep.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/TimeStep.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/World.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/World.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/World.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/World.cs
diff --git a/Farseer Physics Engine 3.5/Dynamics/WorldCallbacks.cs b/Libraries/Farseer Physics Engine 3.5/Dynamics/WorldCallbacks.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Dynamics/WorldCallbacks.cs
rename to Libraries/Farseer Physics Engine 3.5/Dynamics/WorldCallbacks.cs
diff --git a/Farseer Physics Engine 3.5/Factories/BodyFactory.cs b/Libraries/Farseer Physics Engine 3.5/Factories/BodyFactory.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Factories/BodyFactory.cs
rename to Libraries/Farseer Physics Engine 3.5/Factories/BodyFactory.cs
diff --git a/Farseer Physics Engine 3.5/Factories/FixtureFactory.cs b/Libraries/Farseer Physics Engine 3.5/Factories/FixtureFactory.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Factories/FixtureFactory.cs
rename to Libraries/Farseer Physics Engine 3.5/Factories/FixtureFactory.cs
diff --git a/Farseer Physics Engine 3.5/Factories/JointFactory.cs b/Libraries/Farseer Physics Engine 3.5/Factories/JointFactory.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Factories/JointFactory.cs
rename to Libraries/Farseer Physics Engine 3.5/Factories/JointFactory.cs
diff --git a/Farseer Physics Engine 3.5/Factories/LinkFactory.cs b/Libraries/Farseer Physics Engine 3.5/Factories/LinkFactory.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Factories/LinkFactory.cs
rename to Libraries/Farseer Physics Engine 3.5/Factories/LinkFactory.cs
diff --git a/Farseer Physics Engine 3.5/Farseer Physics Engine.sln b/Libraries/Farseer Physics Engine 3.5/Farseer Physics Engine.sln
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics Engine.sln
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics Engine.sln
diff --git a/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj b/Libraries/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj
diff --git a/Farseer Physics Engine 3.5/Farseer Physics Silverlight.csproj b/Libraries/Farseer Physics Engine 3.5/Farseer Physics Silverlight.csproj
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics Silverlight.csproj
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics Silverlight.csproj
diff --git a/Farseer Physics Engine 3.5/Farseer Physics WP7.csproj b/Libraries/Farseer Physics Engine 3.5/Farseer Physics WP7.csproj
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics WP7.csproj
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics WP7.csproj
diff --git a/Farseer Physics Engine 3.5/Farseer Physics XNA.csproj b/Libraries/Farseer Physics Engine 3.5/Farseer Physics XNA.csproj
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics XNA.csproj
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics XNA.csproj
diff --git a/Farseer Physics Engine 3.5/Farseer Physics Xbox360.csproj b/Libraries/Farseer Physics Engine 3.5/Farseer Physics Xbox360.csproj
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics Xbox360.csproj
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics Xbox360.csproj
diff --git a/Farseer Physics Engine 3.5/Farseer Physics.csproj b/Libraries/Farseer Physics Engine 3.5/Farseer Physics.csproj
similarity index 100%
rename from Farseer Physics Engine 3.5/Farseer Physics.csproj
rename to Libraries/Farseer Physics Engine 3.5/Farseer Physics.csproj
diff --git a/Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs b/Libraries/Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs
rename to Libraries/Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs
diff --git a/Farseer Physics Engine 3.5/Settings.cs b/Libraries/Farseer Physics Engine 3.5/Settings.cs
similarity index 100%
rename from Farseer Physics Engine 3.5/Settings.cs
rename to Libraries/Farseer Physics Engine 3.5/Settings.cs
diff --git a/Farseer Physics Engine 3.5/StyleCop.Cache b/Libraries/Farseer Physics Engine 3.5/StyleCop.Cache
similarity index 100%
rename from Farseer Physics Engine 3.5/StyleCop.Cache
rename to Libraries/Farseer Physics Engine 3.5/StyleCop.Cache
diff --git a/Hyper.ComponentModel/ChainingPropertyDescriptor.cs b/Libraries/Hyper.ComponentModel/ChainingPropertyDescriptor.cs
similarity index 100%
rename from Hyper.ComponentModel/ChainingPropertyDescriptor.cs
rename to Libraries/Hyper.ComponentModel/ChainingPropertyDescriptor.cs
diff --git a/Hyper.ComponentModel/Hyper.ComponentModel.csproj b/Libraries/Hyper.ComponentModel/Hyper.ComponentModel.csproj
similarity index 100%
rename from Hyper.ComponentModel/Hyper.ComponentModel.csproj
rename to Libraries/Hyper.ComponentModel/Hyper.ComponentModel.csproj
diff --git a/Hyper.ComponentModel/HyperTypeDescriptionProvider.cs b/Libraries/Hyper.ComponentModel/HyperTypeDescriptionProvider.cs
similarity index 100%
rename from Hyper.ComponentModel/HyperTypeDescriptionProvider.cs
rename to Libraries/Hyper.ComponentModel/HyperTypeDescriptionProvider.cs
diff --git a/Hyper.ComponentModel/HyperTypeDescriptor.cs b/Libraries/Hyper.ComponentModel/HyperTypeDescriptor.cs
similarity index 100%
rename from Hyper.ComponentModel/HyperTypeDescriptor.cs
rename to Libraries/Hyper.ComponentModel/HyperTypeDescriptor.cs
diff --git a/Hyper.ComponentModel/Properties/AssemblyInfo.cs b/Libraries/Hyper.ComponentModel/Properties/AssemblyInfo.cs
similarity index 100%
rename from Hyper.ComponentModel/Properties/AssemblyInfo.cs
rename to Libraries/Hyper.ComponentModel/Properties/AssemblyInfo.cs
diff --git a/Lidgren.Network/Documentation/ChangedFromV2.txt b/Libraries/Lidgren.Network/Documentation/ChangedFromV2.txt
similarity index 100%
rename from Lidgren.Network/Documentation/ChangedFromV2.txt
rename to Libraries/Lidgren.Network/Documentation/ChangedFromV2.txt
diff --git a/Lidgren.Network/Documentation/Discovery.html b/Libraries/Lidgren.Network/Documentation/Discovery.html
similarity index 100%
rename from Lidgren.Network/Documentation/Discovery.html
rename to Libraries/Lidgren.Network/Documentation/Discovery.html
diff --git a/Lidgren.Network/Documentation/Improvements.txt b/Libraries/Lidgren.Network/Documentation/Improvements.txt
similarity index 100%
rename from Lidgren.Network/Documentation/Improvements.txt
rename to Libraries/Lidgren.Network/Documentation/Improvements.txt
diff --git a/Lidgren.Network/Documentation/PacketLayout.txt b/Libraries/Lidgren.Network/Documentation/PacketLayout.txt
similarity index 100%
rename from Lidgren.Network/Documentation/PacketLayout.txt
rename to Libraries/Lidgren.Network/Documentation/PacketLayout.txt
diff --git a/Lidgren.Network/Documentation/SimulatingBadNetwork.html b/Libraries/Lidgren.Network/Documentation/SimulatingBadNetwork.html
similarity index 100%
rename from Lidgren.Network/Documentation/SimulatingBadNetwork.html
rename to Libraries/Lidgren.Network/Documentation/SimulatingBadNetwork.html
diff --git a/Lidgren.Network/Documentation/TODO.txt b/Libraries/Lidgren.Network/Documentation/TODO.txt
similarity index 100%
rename from Lidgren.Network/Documentation/TODO.txt
rename to Libraries/Lidgren.Network/Documentation/TODO.txt
diff --git a/Lidgren.Network/Documentation/Tutorial.html b/Libraries/Lidgren.Network/Documentation/Tutorial.html
similarity index 100%
rename from Lidgren.Network/Documentation/Tutorial.html
rename to Libraries/Lidgren.Network/Documentation/Tutorial.html
diff --git a/Lidgren.Network/Encryption/NetAESEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetAESEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetAESEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetAESEncryption.cs
diff --git a/Lidgren.Network/Encryption/NetBlockEncryptionBase.cs b/Libraries/Lidgren.Network/Encryption/NetBlockEncryptionBase.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetBlockEncryptionBase.cs
rename to Libraries/Lidgren.Network/Encryption/NetBlockEncryptionBase.cs
diff --git a/Lidgren.Network/Encryption/NetCryptoProviderBase.cs b/Libraries/Lidgren.Network/Encryption/NetCryptoProviderBase.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetCryptoProviderBase.cs
rename to Libraries/Lidgren.Network/Encryption/NetCryptoProviderBase.cs
diff --git a/Lidgren.Network/Encryption/NetCryptoProviderEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetCryptoProviderEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetCryptoProviderEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetCryptoProviderEncryption.cs
diff --git a/Lidgren.Network/Encryption/NetDESEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetDESEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetDESEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetDESEncryption.cs
diff --git a/Lidgren.Network/Encryption/NetEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetEncryption.cs
diff --git a/Lidgren.Network/Encryption/NetRC2Encryption.cs b/Libraries/Lidgren.Network/Encryption/NetRC2Encryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetRC2Encryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetRC2Encryption.cs
diff --git a/Lidgren.Network/Encryption/NetTripleDESEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetTripleDESEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetTripleDESEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetTripleDESEncryption.cs
diff --git a/Lidgren.Network/Encryption/NetXorEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetXorEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetXorEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetXorEncryption.cs
diff --git a/Lidgren.Network/Encryption/NetXteaEncryption.cs b/Libraries/Lidgren.Network/Encryption/NetXteaEncryption.cs
similarity index 100%
rename from Lidgren.Network/Encryption/NetXteaEncryption.cs
rename to Libraries/Lidgren.Network/Encryption/NetXteaEncryption.cs
diff --git a/Lidgren.Network/Lidgren.Network.csproj b/Libraries/Lidgren.Network/Lidgren.Network.csproj
similarity index 100%
rename from Lidgren.Network/Lidgren.Network.csproj
rename to Libraries/Lidgren.Network/Lidgren.Network.csproj
diff --git a/Lidgren.Network/NamespaceDoc.cs b/Libraries/Lidgren.Network/NamespaceDoc.cs
similarity index 100%
rename from Lidgren.Network/NamespaceDoc.cs
rename to Libraries/Lidgren.Network/NamespaceDoc.cs
diff --git a/Lidgren.Network/NetBigInteger.cs b/Libraries/Lidgren.Network/NetBigInteger.cs
similarity index 100%
rename from Lidgren.Network/NetBigInteger.cs
rename to Libraries/Lidgren.Network/NetBigInteger.cs
diff --git a/Lidgren.Network/NetBitVector.cs b/Libraries/Lidgren.Network/NetBitVector.cs
similarity index 100%
rename from Lidgren.Network/NetBitVector.cs
rename to Libraries/Lidgren.Network/NetBitVector.cs
diff --git a/Lidgren.Network/NetBitWriter.cs b/Libraries/Lidgren.Network/NetBitWriter.cs
similarity index 100%
rename from Lidgren.Network/NetBitWriter.cs
rename to Libraries/Lidgren.Network/NetBitWriter.cs
diff --git a/Lidgren.Network/NetBuffer.Peek.cs b/Libraries/Lidgren.Network/NetBuffer.Peek.cs
similarity index 100%
rename from Lidgren.Network/NetBuffer.Peek.cs
rename to Libraries/Lidgren.Network/NetBuffer.Peek.cs
diff --git a/Lidgren.Network/NetBuffer.Read.Reflection.cs b/Libraries/Lidgren.Network/NetBuffer.Read.Reflection.cs
similarity index 100%
rename from Lidgren.Network/NetBuffer.Read.Reflection.cs
rename to Libraries/Lidgren.Network/NetBuffer.Read.Reflection.cs
diff --git a/Lidgren.Network/NetBuffer.Read.cs b/Libraries/Lidgren.Network/NetBuffer.Read.cs
similarity index 100%
rename from Lidgren.Network/NetBuffer.Read.cs
rename to Libraries/Lidgren.Network/NetBuffer.Read.cs
diff --git a/Lidgren.Network/NetBuffer.Write.Reflection.cs b/Libraries/Lidgren.Network/NetBuffer.Write.Reflection.cs
similarity index 100%
rename from Lidgren.Network/NetBuffer.Write.Reflection.cs
rename to Libraries/Lidgren.Network/NetBuffer.Write.Reflection.cs
diff --git a/Lidgren.Network/NetBuffer.Write.cs b/Libraries/Lidgren.Network/NetBuffer.Write.cs
similarity index 100%
rename from Lidgren.Network/NetBuffer.Write.cs
rename to Libraries/Lidgren.Network/NetBuffer.Write.cs
diff --git a/Lidgren.Network/NetBuffer.cs b/Libraries/Lidgren.Network/NetBuffer.cs
similarity index 100%
rename from Lidgren.Network/NetBuffer.cs
rename to Libraries/Lidgren.Network/NetBuffer.cs
diff --git a/Lidgren.Network/NetClient.cs b/Libraries/Lidgren.Network/NetClient.cs
similarity index 100%
rename from Lidgren.Network/NetClient.cs
rename to Libraries/Lidgren.Network/NetClient.cs
diff --git a/Lidgren.Network/NetConnection.Handshake.cs b/Libraries/Lidgren.Network/NetConnection.Handshake.cs
similarity index 100%
rename from Lidgren.Network/NetConnection.Handshake.cs
rename to Libraries/Lidgren.Network/NetConnection.Handshake.cs
diff --git a/Lidgren.Network/NetConnection.Latency.cs b/Libraries/Lidgren.Network/NetConnection.Latency.cs
similarity index 100%
rename from Lidgren.Network/NetConnection.Latency.cs
rename to Libraries/Lidgren.Network/NetConnection.Latency.cs
diff --git a/Lidgren.Network/NetConnection.MTU.cs b/Libraries/Lidgren.Network/NetConnection.MTU.cs
similarity index 100%
rename from Lidgren.Network/NetConnection.MTU.cs
rename to Libraries/Lidgren.Network/NetConnection.MTU.cs
diff --git a/Lidgren.Network/NetConnection.cs b/Libraries/Lidgren.Network/NetConnection.cs
similarity index 100%
rename from Lidgren.Network/NetConnection.cs
rename to Libraries/Lidgren.Network/NetConnection.cs
diff --git a/Lidgren.Network/NetConnectionStatistics.cs b/Libraries/Lidgren.Network/NetConnectionStatistics.cs
similarity index 100%
rename from Lidgren.Network/NetConnectionStatistics.cs
rename to Libraries/Lidgren.Network/NetConnectionStatistics.cs
diff --git a/Lidgren.Network/NetConnectionStatus.cs b/Libraries/Lidgren.Network/NetConnectionStatus.cs
similarity index 100%
rename from Lidgren.Network/NetConnectionStatus.cs
rename to Libraries/Lidgren.Network/NetConnectionStatus.cs
diff --git a/Lidgren.Network/NetConstants.cs b/Libraries/Lidgren.Network/NetConstants.cs
similarity index 100%
rename from Lidgren.Network/NetConstants.cs
rename to Libraries/Lidgren.Network/NetConstants.cs
diff --git a/Lidgren.Network/NetDeliveryMethod.cs b/Libraries/Lidgren.Network/NetDeliveryMethod.cs
similarity index 100%
rename from Lidgren.Network/NetDeliveryMethod.cs
rename to Libraries/Lidgren.Network/NetDeliveryMethod.cs
diff --git a/Lidgren.Network/NetException.cs b/Libraries/Lidgren.Network/NetException.cs
similarity index 100%
rename from Lidgren.Network/NetException.cs
rename to Libraries/Lidgren.Network/NetException.cs
diff --git a/Lidgren.Network/NetFragmentationHelper.cs b/Libraries/Lidgren.Network/NetFragmentationHelper.cs
similarity index 100%
rename from Lidgren.Network/NetFragmentationHelper.cs
rename to Libraries/Lidgren.Network/NetFragmentationHelper.cs
diff --git a/Lidgren.Network/NetFragmentationInfo.cs b/Libraries/Lidgren.Network/NetFragmentationInfo.cs
similarity index 100%
rename from Lidgren.Network/NetFragmentationInfo.cs
rename to Libraries/Lidgren.Network/NetFragmentationInfo.cs
diff --git a/Lidgren.Network/NetIncomingMessage.cs b/Libraries/Lidgren.Network/NetIncomingMessage.cs
similarity index 100%
rename from Lidgren.Network/NetIncomingMessage.cs
rename to Libraries/Lidgren.Network/NetIncomingMessage.cs
diff --git a/Lidgren.Network/NetIncomingMessageType.cs b/Libraries/Lidgren.Network/NetIncomingMessageType.cs
similarity index 100%
rename from Lidgren.Network/NetIncomingMessageType.cs
rename to Libraries/Lidgren.Network/NetIncomingMessageType.cs
diff --git a/Lidgren.Network/NetMessageType.cs b/Libraries/Lidgren.Network/NetMessageType.cs
similarity index 100%
rename from Lidgren.Network/NetMessageType.cs
rename to Libraries/Lidgren.Network/NetMessageType.cs
diff --git a/Lidgren.Network/NetNatIntroduction.cs b/Libraries/Lidgren.Network/NetNatIntroduction.cs
similarity index 100%
rename from Lidgren.Network/NetNatIntroduction.cs
rename to Libraries/Lidgren.Network/NetNatIntroduction.cs
diff --git a/Lidgren.Network/NetOutgoingMessage.cs b/Libraries/Lidgren.Network/NetOutgoingMessage.cs
similarity index 100%
rename from Lidgren.Network/NetOutgoingMessage.cs
rename to Libraries/Lidgren.Network/NetOutgoingMessage.cs
diff --git a/Lidgren.Network/NetPeer.Discovery.cs b/Libraries/Lidgren.Network/NetPeer.Discovery.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.Discovery.cs
rename to Libraries/Lidgren.Network/NetPeer.Discovery.cs
diff --git a/Lidgren.Network/NetPeer.Fragmentation.cs b/Libraries/Lidgren.Network/NetPeer.Fragmentation.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.Fragmentation.cs
rename to Libraries/Lidgren.Network/NetPeer.Fragmentation.cs
diff --git a/Lidgren.Network/NetPeer.Internal.cs b/Libraries/Lidgren.Network/NetPeer.Internal.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.Internal.cs
rename to Libraries/Lidgren.Network/NetPeer.Internal.cs
diff --git a/Lidgren.Network/NetPeer.LatencySimulation.cs b/Libraries/Lidgren.Network/NetPeer.LatencySimulation.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.LatencySimulation.cs
rename to Libraries/Lidgren.Network/NetPeer.LatencySimulation.cs
diff --git a/Lidgren.Network/NetPeer.Logging.cs b/Libraries/Lidgren.Network/NetPeer.Logging.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.Logging.cs
rename to Libraries/Lidgren.Network/NetPeer.Logging.cs
diff --git a/Lidgren.Network/NetPeer.MessagePools.cs b/Libraries/Lidgren.Network/NetPeer.MessagePools.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.MessagePools.cs
rename to Libraries/Lidgren.Network/NetPeer.MessagePools.cs
diff --git a/Lidgren.Network/NetPeer.Send.cs b/Libraries/Lidgren.Network/NetPeer.Send.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.Send.cs
rename to Libraries/Lidgren.Network/NetPeer.Send.cs
diff --git a/Lidgren.Network/NetPeer.cs b/Libraries/Lidgren.Network/NetPeer.cs
similarity index 100%
rename from Lidgren.Network/NetPeer.cs
rename to Libraries/Lidgren.Network/NetPeer.cs
diff --git a/Lidgren.Network/NetPeerConfiguration.cs b/Libraries/Lidgren.Network/NetPeerConfiguration.cs
similarity index 100%
rename from Lidgren.Network/NetPeerConfiguration.cs
rename to Libraries/Lidgren.Network/NetPeerConfiguration.cs
diff --git a/Lidgren.Network/NetPeerStatistics.cs b/Libraries/Lidgren.Network/NetPeerStatistics.cs
similarity index 100%
rename from Lidgren.Network/NetPeerStatistics.cs
rename to Libraries/Lidgren.Network/NetPeerStatistics.cs
diff --git a/Lidgren.Network/NetPeerStatus.cs b/Libraries/Lidgren.Network/NetPeerStatus.cs
similarity index 100%
rename from Lidgren.Network/NetPeerStatus.cs
rename to Libraries/Lidgren.Network/NetPeerStatus.cs
diff --git a/Lidgren.Network/NetQueue.cs b/Libraries/Lidgren.Network/NetQueue.cs
similarity index 100%
rename from Lidgren.Network/NetQueue.cs
rename to Libraries/Lidgren.Network/NetQueue.cs
diff --git a/Lidgren.Network/NetRandom.Implementations.cs b/Libraries/Lidgren.Network/NetRandom.Implementations.cs
similarity index 100%
rename from Lidgren.Network/NetRandom.Implementations.cs
rename to Libraries/Lidgren.Network/NetRandom.Implementations.cs
diff --git a/Lidgren.Network/NetRandom.cs b/Libraries/Lidgren.Network/NetRandom.cs
similarity index 100%
rename from Lidgren.Network/NetRandom.cs
rename to Libraries/Lidgren.Network/NetRandom.cs
diff --git a/Lidgren.Network/NetRandomSeed.cs b/Libraries/Lidgren.Network/NetRandomSeed.cs
similarity index 100%
rename from Lidgren.Network/NetRandomSeed.cs
rename to Libraries/Lidgren.Network/NetRandomSeed.cs
diff --git a/Lidgren.Network/NetReceiverChannelBase.cs b/Libraries/Lidgren.Network/NetReceiverChannelBase.cs
similarity index 100%
rename from Lidgren.Network/NetReceiverChannelBase.cs
rename to Libraries/Lidgren.Network/NetReceiverChannelBase.cs
diff --git a/Lidgren.Network/NetReliableOrderedReceiver.cs b/Libraries/Lidgren.Network/NetReliableOrderedReceiver.cs
similarity index 100%
rename from Lidgren.Network/NetReliableOrderedReceiver.cs
rename to Libraries/Lidgren.Network/NetReliableOrderedReceiver.cs
diff --git a/Lidgren.Network/NetReliableSenderChannel.cs b/Libraries/Lidgren.Network/NetReliableSenderChannel.cs
similarity index 100%
rename from Lidgren.Network/NetReliableSenderChannel.cs
rename to Libraries/Lidgren.Network/NetReliableSenderChannel.cs
diff --git a/Lidgren.Network/NetReliableSequencedReceiver.cs b/Libraries/Lidgren.Network/NetReliableSequencedReceiver.cs
similarity index 100%
rename from Lidgren.Network/NetReliableSequencedReceiver.cs
rename to Libraries/Lidgren.Network/NetReliableSequencedReceiver.cs
diff --git a/Lidgren.Network/NetReliableUnorderedReceiver.cs b/Libraries/Lidgren.Network/NetReliableUnorderedReceiver.cs
similarity index 100%
rename from Lidgren.Network/NetReliableUnorderedReceiver.cs
rename to Libraries/Lidgren.Network/NetReliableUnorderedReceiver.cs
diff --git a/Lidgren.Network/NetSRP.cs b/Libraries/Lidgren.Network/NetSRP.cs
similarity index 100%
rename from Lidgren.Network/NetSRP.cs
rename to Libraries/Lidgren.Network/NetSRP.cs
diff --git a/Lidgren.Network/NetSendResult.cs b/Libraries/Lidgren.Network/NetSendResult.cs
similarity index 100%
rename from Lidgren.Network/NetSendResult.cs
rename to Libraries/Lidgren.Network/NetSendResult.cs
diff --git a/Lidgren.Network/NetSenderChannelBase.cs b/Libraries/Lidgren.Network/NetSenderChannelBase.cs
similarity index 100%
rename from Lidgren.Network/NetSenderChannelBase.cs
rename to Libraries/Lidgren.Network/NetSenderChannelBase.cs
diff --git a/Lidgren.Network/NetServer.cs b/Libraries/Lidgren.Network/NetServer.cs
similarity index 100%
rename from Lidgren.Network/NetServer.cs
rename to Libraries/Lidgren.Network/NetServer.cs
diff --git a/Lidgren.Network/NetStoredReliableMessage.cs b/Libraries/Lidgren.Network/NetStoredReliableMessage.cs
similarity index 100%
rename from Lidgren.Network/NetStoredReliableMessage.cs
rename to Libraries/Lidgren.Network/NetStoredReliableMessage.cs
diff --git a/Lidgren.Network/NetTime.cs b/Libraries/Lidgren.Network/NetTime.cs
similarity index 100%
rename from Lidgren.Network/NetTime.cs
rename to Libraries/Lidgren.Network/NetTime.cs
diff --git a/Lidgren.Network/NetTuple.cs b/Libraries/Lidgren.Network/NetTuple.cs
similarity index 100%
rename from Lidgren.Network/NetTuple.cs
rename to Libraries/Lidgren.Network/NetTuple.cs
diff --git a/Lidgren.Network/NetUPnP.cs b/Libraries/Lidgren.Network/NetUPnP.cs
similarity index 100%
rename from Lidgren.Network/NetUPnP.cs
rename to Libraries/Lidgren.Network/NetUPnP.cs
diff --git a/Lidgren.Network/NetUnreliableSenderChannel.cs b/Libraries/Lidgren.Network/NetUnreliableSenderChannel.cs
similarity index 100%
rename from Lidgren.Network/NetUnreliableSenderChannel.cs
rename to Libraries/Lidgren.Network/NetUnreliableSenderChannel.cs
diff --git a/Lidgren.Network/NetUnreliableSequencedReceiver.cs b/Libraries/Lidgren.Network/NetUnreliableSequencedReceiver.cs
similarity index 100%
rename from Lidgren.Network/NetUnreliableSequencedReceiver.cs
rename to Libraries/Lidgren.Network/NetUnreliableSequencedReceiver.cs
diff --git a/Lidgren.Network/NetUnreliableUnorderedReceiver.cs b/Libraries/Lidgren.Network/NetUnreliableUnorderedReceiver.cs
similarity index 100%
rename from Lidgren.Network/NetUnreliableUnorderedReceiver.cs
rename to Libraries/Lidgren.Network/NetUnreliableUnorderedReceiver.cs
diff --git a/Lidgren.Network/NetUtility.cs b/Libraries/Lidgren.Network/NetUtility.cs
similarity index 100%
rename from Lidgren.Network/NetUtility.cs
rename to Libraries/Lidgren.Network/NetUtility.cs
diff --git a/Lidgren.Network/Platform/PlatformAndroid.cs b/Libraries/Lidgren.Network/Platform/PlatformAndroid.cs
similarity index 100%
rename from Lidgren.Network/Platform/PlatformAndroid.cs
rename to Libraries/Lidgren.Network/Platform/PlatformAndroid.cs
diff --git a/Lidgren.Network/Platform/PlatformConstrained.cs b/Libraries/Lidgren.Network/Platform/PlatformConstrained.cs
similarity index 100%
rename from Lidgren.Network/Platform/PlatformConstrained.cs
rename to Libraries/Lidgren.Network/Platform/PlatformConstrained.cs
diff --git a/Lidgren.Network/Platform/PlatformWin32.cs b/Libraries/Lidgren.Network/Platform/PlatformWin32.cs
similarity index 100%
rename from Lidgren.Network/Platform/PlatformWin32.cs
rename to Libraries/Lidgren.Network/Platform/PlatformWin32.cs
diff --git a/Lidgren.Network/Platform/PlatformWinRT.cs b/Libraries/Lidgren.Network/Platform/PlatformWinRT.cs
similarity index 100%
rename from Lidgren.Network/Platform/PlatformWinRT.cs
rename to Libraries/Lidgren.Network/Platform/PlatformWinRT.cs
diff --git a/Lidgren.Network/Properties/AssemblyInfo.cs b/Libraries/Lidgren.Network/Properties/AssemblyInfo.cs
similarity index 100%
rename from Lidgren.Network/Properties/AssemblyInfo.cs
rename to Libraries/Lidgren.Network/Properties/AssemblyInfo.cs
diff --git a/Libraries/NuGet/.gitignore b/Libraries/NuGet/.gitignore
new file mode 100644
index 000000000..63ea916ef
--- /dev/null
+++ b/Libraries/NuGet/.gitignore
@@ -0,0 +1 @@
+/*/
diff --git a/Libraries/NuGet/readme.txt b/Libraries/NuGet/readme.txt
new file mode 100644
index 000000000..db83223ad
--- /dev/null
+++ b/Libraries/NuGet/readme.txt
@@ -0,0 +1,4 @@
+Not including NuGet packages in the repository, Visual Studio
+should download them automatically when you build the solution.
+You can also manually restore them all by going into the package
+manager and clicking "Restore" when prompted.
diff --git a/SharpFont/.gitignore b/Libraries/SharpFont/.gitignore
similarity index 100%
rename from SharpFont/.gitignore
rename to Libraries/SharpFont/.gitignore
diff --git a/SharpFont/.gitmodules b/Libraries/SharpFont/.gitmodules
similarity index 100%
rename from SharpFont/.gitmodules
rename to Libraries/SharpFont/.gitmodules
diff --git a/SharpFont/Dependencies/freetype2/2.5.4-alldeps/README.md b/Libraries/SharpFont/Dependencies/freetype2/2.5.4-alldeps/README.md
similarity index 100%
rename from SharpFont/Dependencies/freetype2/2.5.4-alldeps/README.md
rename to Libraries/SharpFont/Dependencies/freetype2/2.5.4-alldeps/README.md
diff --git a/SharpFont/Dependencies/freetype2/2.5.4-alldeps/patches/fttypes-h-win32.patch b/Libraries/SharpFont/Dependencies/freetype2/2.5.4-alldeps/patches/fttypes-h-win32.patch
similarity index 100%
rename from SharpFont/Dependencies/freetype2/2.5.4-alldeps/patches/fttypes-h-win32.patch
rename to Libraries/SharpFont/Dependencies/freetype2/2.5.4-alldeps/patches/fttypes-h-win32.patch
diff --git a/SharpFont/Dependencies/freetype2/2.5.5-alldeps/README.md b/Libraries/SharpFont/Dependencies/freetype2/2.5.5-alldeps/README.md
similarity index 100%
rename from SharpFont/Dependencies/freetype2/2.5.5-alldeps/README.md
rename to Libraries/SharpFont/Dependencies/freetype2/2.5.5-alldeps/README.md
diff --git a/SharpFont/Dependencies/freetype2/FTL.TXT b/Libraries/SharpFont/Dependencies/freetype2/FTL.TXT
similarity index 100%
rename from SharpFont/Dependencies/freetype2/FTL.TXT
rename to Libraries/SharpFont/Dependencies/freetype2/FTL.TXT
diff --git a/SharpFont/Dependencies/freetype2/README.md b/Libraries/SharpFont/Dependencies/freetype2/README.md
similarity index 100%
rename from SharpFont/Dependencies/freetype2/README.md
rename to Libraries/SharpFont/Dependencies/freetype2/README.md
diff --git a/SharpFont/Dependencies/freetype2/win64.patch b/Libraries/SharpFont/Dependencies/freetype2/win64.patch
similarity index 100%
rename from SharpFont/Dependencies/freetype2/win64.patch
rename to Libraries/SharpFont/Dependencies/freetype2/win64.patch
diff --git a/SharpFont/LICENSE b/Libraries/SharpFont/LICENSE
similarity index 100%
rename from SharpFont/LICENSE
rename to Libraries/SharpFont/LICENSE
diff --git a/SharpFont/Makefile b/Libraries/SharpFont/Makefile
similarity index 100%
rename from SharpFont/Makefile
rename to Libraries/SharpFont/Makefile
diff --git a/SharpFont/README.md b/Libraries/SharpFont/README.md
similarity index 100%
rename from SharpFont/README.md
rename to Libraries/SharpFont/README.md
diff --git a/SharpFont/Source/.editorconfig b/Libraries/SharpFont/Source/.editorconfig
similarity index 100%
rename from SharpFont/Source/.editorconfig
rename to Libraries/SharpFont/Source/.editorconfig
diff --git a/SharpFont/Source/Settings.StyleCop b/Libraries/SharpFont/Source/Settings.StyleCop
similarity index 100%
rename from SharpFont/Source/Settings.StyleCop
rename to Libraries/SharpFont/Source/Settings.StyleCop
diff --git a/SharpFont/Source/SharpFont.dll.config b/Libraries/SharpFont/Source/SharpFont.dll.config
similarity index 100%
rename from SharpFont/Source/SharpFont.dll.config
rename to Libraries/SharpFont/Source/SharpFont.dll.config
diff --git a/SharpFont/Source/SharpFont.sln b/Libraries/SharpFont/Source/SharpFont.sln
similarity index 100%
rename from SharpFont/Source/SharpFont.sln
rename to Libraries/SharpFont/Source/SharpFont.sln
diff --git a/SharpFont/Source/SharpFont.snk b/Libraries/SharpFont/Source/SharpFont.snk
similarity index 100%
rename from SharpFont/Source/SharpFont.snk
rename to Libraries/SharpFont/Source/SharpFont.snk
diff --git a/SharpFont/Source/SharpFont/SharpFont.csproj b/Libraries/SharpFont/Source/SharpFont/SharpFont.csproj
similarity index 100%
rename from SharpFont/Source/SharpFont/SharpFont.csproj
rename to Libraries/SharpFont/Source/SharpFont/SharpFont.csproj
diff --git a/SharpFont/Source/SharpFontShared/AutoHinterScript.cs b/Libraries/SharpFont/Source/SharpFontShared/AutoHinterScript.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/AutoHinterScript.cs
rename to Libraries/SharpFont/Source/SharpFontShared/AutoHinterScript.cs
diff --git a/SharpFont/Source/SharpFontShared/BBox.cs b/Libraries/SharpFont/Source/SharpFontShared/BBox.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/BBox.cs
rename to Libraries/SharpFont/Source/SharpFontShared/BBox.cs
diff --git a/SharpFont/Source/SharpFontShared/Bdf/Internal/PropertyRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Bdf/Internal/PropertyRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Bdf/Internal/PropertyRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Bdf/Internal/PropertyRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Bdf/Property.cs b/Libraries/SharpFont/Source/SharpFontShared/Bdf/Property.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Bdf/Property.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Bdf/Property.cs
diff --git a/SharpFont/Source/SharpFontShared/Bdf/PropertyType.cs b/Libraries/SharpFont/Source/SharpFontShared/Bdf/PropertyType.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Bdf/PropertyType.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Bdf/PropertyType.cs
diff --git a/SharpFont/Source/SharpFontShared/BitmapGlyph.cs b/Libraries/SharpFont/Source/SharpFontShared/BitmapGlyph.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/BitmapGlyph.cs
rename to Libraries/SharpFont/Source/SharpFontShared/BitmapGlyph.cs
diff --git a/SharpFont/Source/SharpFontShared/BitmapSize.cs b/Libraries/SharpFont/Source/SharpFontShared/BitmapSize.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/BitmapSize.cs
rename to Libraries/SharpFont/Source/SharpFontShared/BitmapSize.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/CMapCache.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/CMapCache.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/CMapCache.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/CMapCache.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/FaceRequester.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/FaceRequester.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/FaceRequester.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/FaceRequester.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/ImageCache.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/ImageCache.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/ImageCache.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/ImageCache.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/ImageType.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/ImageType.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/ImageType.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/ImageType.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/CMapCacheRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/CMapCacheRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/CMapCacheRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/CMapCacheRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/ImageCacheRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ImageCacheRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/ImageCacheRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ImageCacheRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/ImageTypeRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ImageTypeRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/ImageTypeRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ImageTypeRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/ManagerRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ManagerRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/ManagerRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ManagerRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/NodeRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/NodeRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/NodeRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/NodeRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/SBitCacheRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/SBitCacheRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/SBitCacheRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/SBitCacheRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/SBitRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/SBitRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/SBitRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/SBitRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Internal/ScalerRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ScalerRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Internal/ScalerRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Internal/ScalerRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Manager.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Manager.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Manager.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Manager.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Node.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Node.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Node.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Node.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/SBit.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/SBit.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/SBit.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/SBit.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/SBitCache.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/SBitCache.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/SBitCache.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/SBitCache.cs
diff --git a/SharpFont/Source/SharpFontShared/Cache/Scaler.cs b/Libraries/SharpFont/Source/SharpFontShared/Cache/Scaler.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cache/Scaler.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cache/Scaler.cs
diff --git a/SharpFont/Source/SharpFontShared/Cff/HintingEngine.cs b/Libraries/SharpFont/Source/SharpFontShared/Cff/HintingEngine.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Cff/HintingEngine.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Cff/HintingEngine.cs
diff --git a/SharpFont/Source/SharpFontShared/CharMap.cs b/Libraries/SharpFont/Source/SharpFontShared/CharMap.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/CharMap.cs
rename to Libraries/SharpFont/Source/SharpFontShared/CharMap.cs
diff --git a/SharpFont/Source/SharpFontShared/ClassicKernValidationFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/ClassicKernValidationFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/ClassicKernValidationFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/ClassicKernValidationFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/Data.cs b/Libraries/SharpFont/Source/SharpFontShared/Data.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Data.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Data.cs
diff --git a/SharpFont/Source/SharpFontShared/EmbeddingTypes.cs b/Libraries/SharpFont/Source/SharpFontShared/EmbeddingTypes.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/EmbeddingTypes.cs
rename to Libraries/SharpFont/Source/SharpFontShared/EmbeddingTypes.cs
diff --git a/SharpFont/Source/SharpFontShared/Encoding.cs b/Libraries/SharpFont/Source/SharpFontShared/Encoding.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Encoding.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Encoding.cs
diff --git a/SharpFont/Source/SharpFontShared/Error.cs b/Libraries/SharpFont/Source/SharpFontShared/Error.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Error.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Error.cs
diff --git a/SharpFont/Source/SharpFontShared/FT.Internal.cs b/Libraries/SharpFont/Source/SharpFontShared/FT.Internal.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FT.Internal.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FT.Internal.cs
diff --git a/SharpFont/Source/SharpFontShared/FT.Public.cs b/Libraries/SharpFont/Source/SharpFontShared/FT.Public.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FT.Public.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FT.Public.cs
diff --git a/SharpFont/Source/SharpFontShared/FTBitmap.cs b/Libraries/SharpFont/Source/SharpFontShared/FTBitmap.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTBitmap.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTBitmap.cs
diff --git a/SharpFont/Source/SharpFontShared/FTList.cs b/Libraries/SharpFont/Source/SharpFontShared/FTList.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTList.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTList.cs
diff --git a/SharpFont/Source/SharpFontShared/FTMatrix.cs b/Libraries/SharpFont/Source/SharpFontShared/FTMatrix.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTMatrix.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTMatrix.cs
diff --git a/SharpFont/Source/SharpFontShared/FTSize.cs b/Libraries/SharpFont/Source/SharpFontShared/FTSize.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTSize.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTSize.cs
diff --git a/SharpFont/Source/SharpFontShared/FTStream.cs b/Libraries/SharpFont/Source/SharpFontShared/FTStream.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTStream.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTStream.cs
diff --git a/SharpFont/Source/SharpFontShared/FTUnitVector.cs b/Libraries/SharpFont/Source/SharpFontShared/FTUnitVector.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTUnitVector.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTUnitVector.cs
diff --git a/SharpFont/Source/SharpFontShared/FTVector.cs b/Libraries/SharpFont/Source/SharpFontShared/FTVector.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTVector.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTVector.cs
diff --git a/SharpFont/Source/SharpFontShared/FTVector26Dot6.cs b/Libraries/SharpFont/Source/SharpFontShared/FTVector26Dot6.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FTVector26Dot6.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FTVector26Dot6.cs
diff --git a/SharpFont/Source/SharpFontShared/Face.cs b/Libraries/SharpFont/Source/SharpFontShared/Face.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Face.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Face.cs
diff --git a/SharpFont/Source/SharpFontShared/FaceFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/FaceFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FaceFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FaceFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/Fixed16Dot16.cs b/Libraries/SharpFont/Source/SharpFontShared/Fixed16Dot16.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Fixed16Dot16.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Fixed16Dot16.cs
diff --git a/SharpFont/Source/SharpFontShared/Fixed26Dot6.cs b/Libraries/SharpFont/Source/SharpFontShared/Fixed26Dot6.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Fixed26Dot6.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Fixed26Dot6.cs
diff --git a/SharpFont/Source/SharpFontShared/Fixed2Dot14.cs b/Libraries/SharpFont/Source/SharpFontShared/Fixed2Dot14.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Fixed2Dot14.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Fixed2Dot14.cs
diff --git a/SharpFont/Source/SharpFontShared/Fnt/Header.cs b/Libraries/SharpFont/Source/SharpFontShared/Fnt/Header.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Fnt/Header.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Fnt/Header.cs
diff --git a/SharpFont/Source/SharpFontShared/Fnt/Internal/HeaderRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Fnt/Internal/HeaderRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Fnt/Internal/HeaderRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Fnt/Internal/HeaderRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Fnt/WinFntID.cs b/Libraries/SharpFont/Source/SharpFontShared/Fnt/WinFntID.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Fnt/WinFntID.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Fnt/WinFntID.cs
diff --git a/SharpFont/Source/SharpFontShared/FreeTypeException.cs b/Libraries/SharpFont/Source/SharpFontShared/FreeTypeException.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/FreeTypeException.cs
rename to Libraries/SharpFont/Source/SharpFontShared/FreeTypeException.cs
diff --git a/SharpFont/Source/SharpFontShared/Gasp.cs b/Libraries/SharpFont/Source/SharpFontShared/Gasp.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Gasp.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Gasp.cs
diff --git a/SharpFont/Source/SharpFontShared/Generic.cs b/Libraries/SharpFont/Source/SharpFontShared/Generic.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Generic.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Generic.cs
diff --git a/SharpFont/Source/SharpFontShared/Glyph.cs b/Libraries/SharpFont/Source/SharpFontShared/Glyph.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Glyph.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Glyph.cs
diff --git a/SharpFont/Source/SharpFontShared/GlyphBBoxMode.cs b/Libraries/SharpFont/Source/SharpFontShared/GlyphBBoxMode.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/GlyphBBoxMode.cs
rename to Libraries/SharpFont/Source/SharpFontShared/GlyphBBoxMode.cs
diff --git a/SharpFont/Source/SharpFontShared/GlyphFormat.cs b/Libraries/SharpFont/Source/SharpFontShared/GlyphFormat.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/GlyphFormat.cs
rename to Libraries/SharpFont/Source/SharpFontShared/GlyphFormat.cs
diff --git a/SharpFont/Source/SharpFontShared/GlyphMetrics.cs b/Libraries/SharpFont/Source/SharpFontShared/GlyphMetrics.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/GlyphMetrics.cs
rename to Libraries/SharpFont/Source/SharpFontShared/GlyphMetrics.cs
diff --git a/SharpFont/Source/SharpFontShared/GlyphSlot.cs b/Libraries/SharpFont/Source/SharpFontShared/GlyphSlot.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/GlyphSlot.cs
rename to Libraries/SharpFont/Source/SharpFontShared/GlyphSlot.cs
diff --git a/SharpFont/Source/SharpFontShared/GlyphToScriptMapProperty.cs b/Libraries/SharpFont/Source/SharpFontShared/GlyphToScriptMapProperty.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/GlyphToScriptMapProperty.cs
rename to Libraries/SharpFont/Source/SharpFontShared/GlyphToScriptMapProperty.cs
diff --git a/SharpFont/Source/SharpFontShared/IncreaseXHeightProperty.cs b/Libraries/SharpFont/Source/SharpFontShared/IncreaseXHeightProperty.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/IncreaseXHeightProperty.cs
rename to Libraries/SharpFont/Source/SharpFontShared/IncreaseXHeightProperty.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/BitmapGlyphRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/BitmapGlyphRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/BitmapGlyphRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/BitmapGlyphRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/BitmapRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/BitmapRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/BitmapRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/BitmapRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/BitmapSizeRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/BitmapSizeRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/BitmapSizeRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/BitmapSizeRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/CharMapRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/CharMapRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/CharMapRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/CharMapRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/FaceRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/FaceRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/FaceRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/FaceRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/GenericRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/GenericRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/GenericRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/GenericRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/GlyphMetricsRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphMetricsRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/GlyphMetricsRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphMetricsRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/GlyphRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/GlyphRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/GlyphSlotRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphSlotRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/GlyphSlotRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphSlotRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/GlyphToScriptMapPropertyRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphToScriptMapPropertyRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/GlyphToScriptMapPropertyRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/GlyphToScriptMapPropertyRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/IncreaseXHeightPropertyRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/IncreaseXHeightPropertyRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/IncreaseXHeightPropertyRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/IncreaseXHeightPropertyRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/ListNodeRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/ListNodeRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/ListNodeRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/ListNodeRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/ListRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/ListRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/ListRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/ListRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/MemoryRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/MemoryRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/MemoryRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/MemoryRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/ModuleClassRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/ModuleClassRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/ModuleClassRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/ModuleClassRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/NativeObject.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/NativeObject.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/NativeObject.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/NativeObject.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/NativeReference.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/NativeReference.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/NativeReference.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/NativeReference.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/OpenArgsRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/OpenArgsRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/OpenArgsRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/OpenArgsRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/OutlineFuncsRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/OutlineFuncsRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/OutlineFuncsRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/OutlineFuncsRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/OutlineGlyphRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/OutlineGlyphRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/OutlineGlyphRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/OutlineGlyphRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/OutlineRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/OutlineRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/OutlineRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/OutlineRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/ParameterRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/ParameterRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/ParameterRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/ParameterRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/RasterFuncsRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/RasterFuncsRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/RasterFuncsRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/RasterFuncsRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/RasterParamsRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/RasterParamsRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/RasterParamsRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/RasterParamsRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/RendererClassRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/RendererClassRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/RendererClassRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/RendererClassRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/SizeMetricsRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/SizeMetricsRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/SizeMetricsRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/SizeMetricsRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/SizeRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/SizeRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/SizeRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/SizeRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/SizeRequestRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/SizeRequestRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/SizeRequestRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/SizeRequestRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/SpanRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/SpanRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/SpanRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/SpanRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/StreamDescRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/StreamDescRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/StreamDescRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/StreamDescRec.cs
diff --git a/SharpFont/Source/SharpFontShared/Internal/StreamRec.cs b/Libraries/SharpFont/Source/SharpFontShared/Internal/StreamRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Internal/StreamRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Internal/StreamRec.cs
diff --git a/SharpFont/Source/SharpFontShared/KerningMode.cs b/Libraries/SharpFont/Source/SharpFontShared/KerningMode.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/KerningMode.cs
rename to Libraries/SharpFont/Source/SharpFontShared/KerningMode.cs
diff --git a/SharpFont/Source/SharpFontShared/LcdFilter.cs b/Libraries/SharpFont/Source/SharpFontShared/LcdFilter.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/LcdFilter.cs
rename to Libraries/SharpFont/Source/SharpFontShared/LcdFilter.cs
diff --git a/SharpFont/Source/SharpFontShared/Library.cs b/Libraries/SharpFont/Source/SharpFontShared/Library.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Library.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Library.cs
diff --git a/SharpFont/Source/SharpFontShared/ListNode.cs b/Libraries/SharpFont/Source/SharpFontShared/ListNode.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/ListNode.cs
rename to Libraries/SharpFont/Source/SharpFontShared/ListNode.cs
diff --git a/SharpFont/Source/SharpFontShared/LoadFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/LoadFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/LoadFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/LoadFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/LoadTarget.cs b/Libraries/SharpFont/Source/SharpFontShared/LoadTarget.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/LoadTarget.cs
rename to Libraries/SharpFont/Source/SharpFontShared/LoadTarget.cs
diff --git a/SharpFont/Source/SharpFontShared/Memory.cs b/Libraries/SharpFont/Source/SharpFontShared/Memory.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Memory.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Memory.cs
diff --git a/SharpFont/Source/SharpFontShared/Module.cs b/Libraries/SharpFont/Source/SharpFontShared/Module.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Module.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Module.cs
diff --git a/SharpFont/Source/SharpFontShared/ModuleClass.cs b/Libraries/SharpFont/Source/SharpFontShared/ModuleClass.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/ModuleClass.cs
rename to Libraries/SharpFont/Source/SharpFontShared/ModuleClass.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMAxisRec.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMAxisRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMAxisRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMAxisRec.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMVarRec.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMVarRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMVarRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MMVarRec.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MultiMasterRec.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MultiMasterRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MultiMasterRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/MultiMasterRec.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarAxisRec.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarAxisRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarAxisRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarAxisRec.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarNamedStyleRec.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarNamedStyleRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarNamedStyleRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/Internal/VarNamedStyleRec.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/MMAxis.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/MMAxis.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/MMAxis.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/MMAxis.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/MMVar.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/MMVar.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/MMVar.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/MMVar.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/MultiMaster.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/MultiMaster.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/MultiMaster.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/MultiMaster.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/VarAxis.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/VarAxis.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/VarAxis.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/VarAxis.cs
diff --git a/SharpFont/Source/SharpFontShared/MultipleMasters/VarNamedStyle.cs b/Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/VarNamedStyle.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/MultipleMasters/VarNamedStyle.cs
rename to Libraries/SharpFont/Source/SharpFontShared/MultipleMasters/VarNamedStyle.cs
diff --git a/SharpFont/Source/SharpFontShared/OpenArgs.cs b/Libraries/SharpFont/Source/SharpFontShared/OpenArgs.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/OpenArgs.cs
rename to Libraries/SharpFont/Source/SharpFontShared/OpenArgs.cs
diff --git a/SharpFont/Source/SharpFontShared/OpenFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/OpenFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/OpenFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/OpenFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/OpenTypeValidationFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/OpenTypeValidationFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/OpenTypeValidationFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/OpenTypeValidationFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/Orientation.cs b/Libraries/SharpFont/Source/SharpFontShared/Orientation.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Orientation.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Orientation.cs
diff --git a/SharpFont/Source/SharpFontShared/Outline.cs b/Libraries/SharpFont/Source/SharpFontShared/Outline.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Outline.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Outline.cs
diff --git a/SharpFont/Source/SharpFontShared/OutlineFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/OutlineFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/OutlineFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/OutlineFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/OutlineFuncs.cs b/Libraries/SharpFont/Source/SharpFontShared/OutlineFuncs.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/OutlineFuncs.cs
rename to Libraries/SharpFont/Source/SharpFontShared/OutlineFuncs.cs
diff --git a/SharpFont/Source/SharpFontShared/OutlineGlyph.cs b/Libraries/SharpFont/Source/SharpFontShared/OutlineGlyph.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/OutlineGlyph.cs
rename to Libraries/SharpFont/Source/SharpFontShared/OutlineGlyph.cs
diff --git a/SharpFont/Source/SharpFontShared/PInvokeHelper.cs b/Libraries/SharpFont/Source/SharpFontShared/PInvokeHelper.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PInvokeHelper.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PInvokeHelper.cs
diff --git a/SharpFont/Source/SharpFontShared/ParamTag.cs b/Libraries/SharpFont/Source/SharpFontShared/ParamTag.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/ParamTag.cs
rename to Libraries/SharpFont/Source/SharpFontShared/ParamTag.cs
diff --git a/SharpFont/Source/SharpFontShared/Parameter.cs b/Libraries/SharpFont/Source/SharpFontShared/Parameter.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Parameter.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Parameter.cs
diff --git a/SharpFont/Source/SharpFontShared/PixelMode.cs b/Libraries/SharpFont/Source/SharpFontShared/PixelMode.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PixelMode.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PixelMode.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/BlendFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/BlendFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/BlendFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/BlendFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/DictionaryKeys.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/DictionaryKeys.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/DictionaryKeys.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/DictionaryKeys.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/EncodingType.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/EncodingType.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/EncodingType.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/EncodingType.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/FaceDict.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/FaceDict.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/FaceDict.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/FaceDict.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/FaceInfo.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/FaceInfo.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/FaceInfo.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/FaceInfo.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/FontInfo.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/FontInfo.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/FontInfo.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/FontInfo.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/Internal/FaceDictRec.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/FaceDictRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/Internal/FaceDictRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/FaceDictRec.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/Internal/FaceInfoRec.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/FaceInfoRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/Internal/FaceInfoRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/FaceInfoRec.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/Internal/FontInfoRec.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/FontInfoRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/Internal/FontInfoRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/FontInfoRec.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/Internal/PrivateRec.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/PrivateRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/Internal/PrivateRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/Internal/PrivateRec.cs
diff --git a/SharpFont/Source/SharpFontShared/PostScript/Private.cs b/Libraries/SharpFont/Source/SharpFontShared/PostScript/Private.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/PostScript/Private.cs
rename to Libraries/SharpFont/Source/SharpFontShared/PostScript/Private.cs
diff --git a/SharpFont/Source/SharpFontShared/Properties/AssemblyInfo.cs b/Libraries/SharpFont/Source/SharpFontShared/Properties/AssemblyInfo.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Properties/AssemblyInfo.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Properties/AssemblyInfo.cs
diff --git a/SharpFont/Source/SharpFontShared/Raster.cs b/Libraries/SharpFont/Source/SharpFontShared/Raster.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Raster.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Raster.cs
diff --git a/SharpFont/Source/SharpFontShared/RasterFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/RasterFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/RasterFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/RasterFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/RasterFuncs.cs b/Libraries/SharpFont/Source/SharpFontShared/RasterFuncs.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/RasterFuncs.cs
rename to Libraries/SharpFont/Source/SharpFontShared/RasterFuncs.cs
diff --git a/SharpFont/Source/SharpFontShared/RasterParams.cs b/Libraries/SharpFont/Source/SharpFontShared/RasterParams.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/RasterParams.cs
rename to Libraries/SharpFont/Source/SharpFontShared/RasterParams.cs
diff --git a/SharpFont/Source/SharpFontShared/RenderMode.cs b/Libraries/SharpFont/Source/SharpFontShared/RenderMode.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/RenderMode.cs
rename to Libraries/SharpFont/Source/SharpFontShared/RenderMode.cs
diff --git a/SharpFont/Source/SharpFontShared/Renderer.cs b/Libraries/SharpFont/Source/SharpFontShared/Renderer.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Renderer.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Renderer.cs
diff --git a/SharpFont/Source/SharpFontShared/RendererClass.cs b/Libraries/SharpFont/Source/SharpFontShared/RendererClass.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/RendererClass.cs
rename to Libraries/SharpFont/Source/SharpFontShared/RendererClass.cs
diff --git a/SharpFont/Source/SharpFontShared/Settings.StyleCop b/Libraries/SharpFont/Source/SharpFontShared/Settings.StyleCop
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Settings.StyleCop
rename to Libraries/SharpFont/Source/SharpFontShared/Settings.StyleCop
diff --git a/SharpFont/Source/SharpFontShared/SharpFontShared.projitems b/Libraries/SharpFont/Source/SharpFontShared/SharpFontShared.projitems
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SharpFontShared.projitems
rename to Libraries/SharpFont/Source/SharpFontShared/SharpFontShared.projitems
diff --git a/SharpFont/Source/SharpFontShared/SharpFontShared.shproj b/Libraries/SharpFont/Source/SharpFontShared/SharpFontShared.shproj
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SharpFontShared.shproj
rename to Libraries/SharpFont/Source/SharpFontShared/SharpFontShared.shproj
diff --git a/SharpFont/Source/SharpFontShared/SizeMetrics.cs b/Libraries/SharpFont/Source/SharpFontShared/SizeMetrics.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SizeMetrics.cs
rename to Libraries/SharpFont/Source/SharpFontShared/SizeMetrics.cs
diff --git a/SharpFont/Source/SharpFontShared/SizeRequest.cs b/Libraries/SharpFont/Source/SharpFontShared/SizeRequest.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SizeRequest.cs
rename to Libraries/SharpFont/Source/SharpFontShared/SizeRequest.cs
diff --git a/SharpFont/Source/SharpFontShared/SizeRequestType.cs b/Libraries/SharpFont/Source/SharpFontShared/SizeRequestType.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SizeRequestType.cs
rename to Libraries/SharpFont/Source/SharpFontShared/SizeRequestType.cs
diff --git a/SharpFont/Source/SharpFontShared/Span.cs b/Libraries/SharpFont/Source/SharpFontShared/Span.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Span.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Span.cs
diff --git a/SharpFont/Source/SharpFontShared/StreamDesc.cs b/Libraries/SharpFont/Source/SharpFontShared/StreamDesc.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/StreamDesc.cs
rename to Libraries/SharpFont/Source/SharpFontShared/StreamDesc.cs
diff --git a/SharpFont/Source/SharpFontShared/Stroker.cs b/Libraries/SharpFont/Source/SharpFontShared/Stroker.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/Stroker.cs
rename to Libraries/SharpFont/Source/SharpFontShared/Stroker.cs
diff --git a/SharpFont/Source/SharpFontShared/StrokerBorder.cs b/Libraries/SharpFont/Source/SharpFontShared/StrokerBorder.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/StrokerBorder.cs
rename to Libraries/SharpFont/Source/SharpFontShared/StrokerBorder.cs
diff --git a/SharpFont/Source/SharpFontShared/StrokerLineCap.cs b/Libraries/SharpFont/Source/SharpFontShared/StrokerLineCap.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/StrokerLineCap.cs
rename to Libraries/SharpFont/Source/SharpFontShared/StrokerLineCap.cs
diff --git a/SharpFont/Source/SharpFontShared/StrokerLineJoin.cs b/Libraries/SharpFont/Source/SharpFontShared/StrokerLineJoin.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/StrokerLineJoin.cs
rename to Libraries/SharpFont/Source/SharpFontShared/StrokerLineJoin.cs
diff --git a/SharpFont/Source/SharpFontShared/StyleFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/StyleFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/StyleFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/StyleFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/SubGlyph.cs b/Libraries/SharpFont/Source/SharpFontShared/SubGlyph.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SubGlyph.cs
rename to Libraries/SharpFont/Source/SharpFontShared/SubGlyph.cs
diff --git a/SharpFont/Source/SharpFontShared/SubGlyphFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/SubGlyphFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/SubGlyphFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/SubGlyphFlags.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/EncodingId.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/EncodingId.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/EncodingId.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/EncodingId.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/EngineType.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/EngineType.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/EngineType.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/EngineType.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Header.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Header.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Header.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Header.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/HoriHeader.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/HoriHeader.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/HoriHeader.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/HoriHeader.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/HeaderRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/HeaderRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/HeaderRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/HeaderRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/HoriHeaderRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/HoriHeaderRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/HoriHeaderRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/HoriHeaderRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/MaxProfileRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/MaxProfileRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/MaxProfileRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/MaxProfileRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/OS2Rec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/OS2Rec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/OS2Rec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/OS2Rec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/PCLTRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/PCLTRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/PCLTRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/PCLTRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/PostscriptRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/PostscriptRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/PostscriptRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/PostscriptRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/SfntNameRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/SfntNameRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/SfntNameRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/SfntNameRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Internal/VertHeaderRec.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/VertHeaderRec.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Internal/VertHeaderRec.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Internal/VertHeaderRec.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/MaxProfile.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/MaxProfile.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/MaxProfile.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/MaxProfile.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/OS2.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/OS2.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/OS2.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/OS2.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Pclt.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Pclt.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Pclt.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Pclt.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/PlatformId.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/PlatformId.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/PlatformId.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/PlatformId.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/Postscript.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/Postscript.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/Postscript.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/Postscript.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/SfntName.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/SfntName.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/SfntName.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/SfntName.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/SfntTag.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/SfntTag.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/SfntTag.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/SfntTag.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueType/VertHeader.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueType/VertHeader.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueType/VertHeader.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueType/VertHeader.cs
diff --git a/SharpFont/Source/SharpFontShared/TrueTypeValidationFlags.cs b/Libraries/SharpFont/Source/SharpFontShared/TrueTypeValidationFlags.cs
similarity index 100%
rename from SharpFont/Source/SharpFontShared/TrueTypeValidationFlags.cs
rename to Libraries/SharpFont/Source/SharpFontShared/TrueTypeValidationFlags.cs
diff --git a/NuGet.Config b/NuGet.Config
new file mode 100644
index 000000000..0a318d8c6
--- /dev/null
+++ b/NuGet.Config
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/NVorbis.0.8.5.0/LICENSE b/packages/NVorbis.0.8.5.0/LICENSE
deleted file mode 100644
index bd12e52a0..000000000
--- a/packages/NVorbis.0.8.5.0/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2015 Andrew Ward, Ms-PL
-
-Microsoft Public License (Ms-PL)
-
-This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
-
-Definitions
-The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
-A "contribution" is the original software, or any additions or changes to the software.
-A "contributor" is any person that distributes its contribution under this license.
-"Licensed patents" are a contributor's patent claims that read directly on its contribution.
-Grant of Rights
-(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
-(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
-Conditions and Limitations
-(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
-(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
-(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
-(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
-(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees, or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
diff --git a/packages/NVorbis.0.8.5.0/NVorbis.0.8.5.0.nupkg b/packages/NVorbis.0.8.5.0/NVorbis.0.8.5.0.nupkg
deleted file mode 100644
index a6208fde2..000000000
Binary files a/packages/NVorbis.0.8.5.0/NVorbis.0.8.5.0.nupkg and /dev/null differ
diff --git a/packages/NVorbis.0.8.5.0/NVorbis.0.8.5.0.nuspec b/packages/NVorbis.0.8.5.0/NVorbis.0.8.5.0.nuspec
deleted file mode 100644
index 61a783b73..000000000
--- a/packages/NVorbis.0.8.5.0/NVorbis.0.8.5.0.nuspec
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
- NVorbis
- 0.8.5.0
- NVorbis
- Andrew Ward
- Andrew Ward
- http://nvorbis.codeplex.com/license
- http://nvorbis.codeplex.com/
- false
- A fully managed implementation of a Xiph.org Foundation Ogg Vorbis decoder.
- A managed Xiph.org Foundation Ogg Vorbis decoder
- - BugFix: Fix occasional crashes streaming tracks on multiple threads
- en-US
- ogg vorbis xiph audio c# sound .NET
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/NVorbis.0.8.5.0/README b/packages/NVorbis.0.8.5.0/README
deleted file mode 100644
index 6d37a3395..000000000
--- a/packages/NVorbis.0.8.5.0/README
+++ /dev/null
@@ -1,123 +0,0 @@
-NVorbis
--------
-
-NVorbis is a .Net library for decoding Xiph.org Vorbis files. It is designed to run in
-partial trust environments and does not require P/Invoke or unsafe code.
-
-This implementation is based on the Vorbis specification found on xiph.org. The MDCT
-and Huffman codeword generator were borrowed from public domain implementations in
-https://github.com/nothings/stb/blob/master/stb_vorbis.c.
-
-Currently the only container supported is Xiph.org Ogg. Ogg Skeleton and Matroska / WebM
-are planned (no ETA, though). RTP support is possible, but not planned.
-
-To use:
-
-- Create an instance of NVorbis.VorbisReader (pass the Ogg Vorbis filename in)
-- Use these properties to gather data about the logical stream:
- - Channels
- - SampleRate
- - TotalTime - A TimeSpan indicating the total length of the audio data
- - DecodedTime - A TimeSpan indicating the last returned sample's timestamp
- - NominalBitrate, UpperBitrate, and LowerBitrate
- - These are the encoder's reported bitrates
- - Vendor - The encoder's vendor string
- - Comments - An array of comments in the file (usually tags)
-- Call "int ReadSamples(float[], int, int)" to retrieve the next batch of
- samples. It will return 0 when the logical Vorbis stream is done.
-
-
-- For NAudio support:
- - Reference NVorbis.NAudioSupport.dll
- - Create an instance of NVorbis.NAudioSupport.VorbisWaveReader
- - VorbisWaveReader implements NAudio.Wave.WaveStream.
-
-History
--------
-0.1 - 08/03/2012
- * Initial Release
-0.2 - 08/07/2012
- * Swapped out LGPL code for public domain implementations
- * Relicensed under Ms-PL
- * Added NAudio support project
- * Added test files & app
- * Performance improvements
-0.3 - 08/08/2012
- * Fixed Page / Packet decode (packets overlapping 2 pages)
- * Fixed "no energy" packet handling
- * Fixed packet reader not merging when unsolicited packets are added
- * Added .gitignore
- * Added initial multi-stream support
- * Added statistics (see VorbisReader.Stats)
-0.4 - 08/14/2012
- * Refactoring to clean up code and make room for later improvements
- * Changed lapping algorithm to be simpler
- * Switched to higher-performance clipping algorithm
- * Some cleanup
-0.4.1 - 09/11/2012
- * Fixed a couple Ogg container bugs
- * Optimized memory allocations for better performance / memory usage
-0.5 - 09/20/2012
- * Added seeking support
- * Changed OggPacketReader to use a doubly-linked list for the packet queue / history
- * Changed OggPacketReader.GetTotalPageCount() to count pages directly instead of making .AddPacket(...) keep a list
- * Fixed a few bugs (mostly race conditions in multi-threaded playback scenarios)
- * Added multi-stream support to VorbisWaveReader
- * Added several info properties to VorbisWaveReader
-0.5.5 - 11/15/2012
- * Added OpenTK support
- * Added makefiles for Mono
- * Added constructor to NAudioSupport for already opened Stream instances
- * Made Ogg container logic thread-safe
- * Cleanup & Optimization
-0.6.0 - 06/27/2013
- * Remove ACache from project
- * Make clipping optional (default: on)
- * Set clipping to clamp at +/-.99999994 instead of +/-1 as a courtesy to those not outputing float samples
- * Performance improvements for RingBuffer
- * Performance improvements in ThreadSafeStream
-0.7.0 - 07/15/2013
- * Rewrite Ogg Reader buffering logic to vastly improve memory usage
- * Reorganize to more easily support other container types / work with other Ogg stream decoders
- * Exposed Ogg reading types
- * Performance improvements
- * Bugfix: Don't throw on Vorbis streams that only have a single mode
-0.7.1 - 07/18/2013
- * Removed use of generics & lambda from Huffman decoder
- * Reduced computation by only processing samples that are required for output
- * Bugfix: Seeking now works again
- * Bugfix: OpenTKSupport.OggStream now only queues as many source buffers as it filled
-0.7.2 - 07/22/2013
- * Bugfix: Floor 0 implementation is now correct
- * Bugfix: Residue 0 & 1 implementation is now correct
- * Bugfix: Seeking back less than the current buffer size no longer corrupts the read buffer
-0.7.3 - 08/02/2013
- * Bugfix: Fix residue 1
-0.7.4 - 09/16/2013
- * Bugfix: Some stereo files with sound on only one channel decoded noise on the silent channel.
-0.8.0test1 - 09/16/2013
- * Rebuilt container reading infrastructure so it is properly decoupled from the decoder
- * Added unit tests for the packet reader, Ogg container reader
-0.8.0 - 01/16/2014
- * Minor bugfixing to test1
- * Replaces 0.7.4 as recommended release
-0.8.1 - 02/24/2014
- * Bugfix: Threading issues in Ogg reader
- * Rewrite StreamReadBuffer (again) for simplicity and correctness
- * Add "saved buffer" concept to StreamReadBuffer for multi-threaded performance
- * Reduce Ogg reader memory usage
- * Add locking for multi-threading support in Ogg reader
- * Remove exception-based logic where possible for better performance
-0.8.2 - 03/19/2014
- * BugFix: Don't try to copy StreamReadBuffer data when offset is bigger than source
- * Add parameter change event to packet provider interface
- * Refactored decoder setup so parameter change can be handled
- * Rewrote packet peek / get logic for simplicity
- * Refactored locking in OggPacketReader / OggContainerReader
- * Improved Ogg end of stream handling
- * Changed container seek API to use packets instead of indexes to reduce linked list traversals
-0.8.3 - 04/29/2014
- * BugFix: Don't set the end of stream flag until the last packet of the page
-0.8.4 - 11/20/2014
- * BugFix: Forward seeking when target page ends with partial packet should ignore partial packet
- * Changed MDCT to be thread-safe
diff --git a/packages/NVorbis.0.8.5.0/lib/NVorbis.XML b/packages/NVorbis.0.8.5.0/lib/NVorbis.XML
deleted file mode 100644
index 8d4248df0..000000000
--- a/packages/NVorbis.0.8.5.0/lib/NVorbis.XML
+++ /dev/null
@@ -1,672 +0,0 @@
-
-
-
- NVorbis
-
-
-
-
- A thread-safe, read-only, buffering stream wrapper.
-
-
-
-
- Provides a interface for a Vorbis logical stream container.
-
-
-
-
- Gets the list of stream serials found in the container so far.
-
-
-
-
- Gets whether the container supports seeking.
-
-
-
-
- Gets the number of bits in the container that are not associated with a logical stream.
-
-
-
-
- Gets the number of pages that have been read in the container.
-
-
-
-
- Event raised when a new logical stream is found in the container.
-
-
-
-
- Initializes the container and finds the first stream.
-
- True if a valid logical stream is found, otherwise False.
-
-
-
- Finds the next new stream in the container.
-
- True if a new stream was found, otherwise False.
- is False.
-
-
-
- Retrieves the total number of pages in the container.
-
- The total number of pages.
- is False.
-
-
-
- Provides packets on-demand for the Vorbis stream decoder.
-
-
-
-
- Gets the serial number associated with this stream.
-
-
-
-
- Gets whether seeking is supported on this stream.
-
-
-
-
- Gets the number of bits of overhead in this stream's container.
-
-
-
-
- Retrieves the total number of pages (or frames) this stream uses.
-
- The page count.
- is False.
-
-
-
- Retrieves the next packet in the stream.
-
- The next packet in the stream or null if no more packets.
-
-
-
- Retrieves the next packet in the stream but does not advance to the following packet.
-
- The next packet in the stream or null if no more packets.
-
-
-
- Retrieves the packet specified from the stream.
-
- The index of the packet to retrieve.
- The specified packet.
- is less than 0 or past the end of the stream.
- is False.
-
-
-
- Retrieves the total number of granules in this Vorbis stream.
-
- The number of samples
- is False.
-
-
-
- Finds the packet index to the granule position specified in the current stream.
-
- The granule position to seek to.
- A callback method that takes the current and previous packets and returns the number of granules in the current packet.
- The index of the packet that includes the specified granule position or -1 if none found.
- is less than 0 or is after the last granule.
-
-
-
- Sets the next packet to be returned, applying a pre-roll as necessary.
-
- The packet to key from.
- The number of packets to return before the indicated packet.
-
-
-
- Occurs when the stream is about to change parameters.
-
-
-
-
- Event data for when a new logical stream is found in a container.
-
-
-
-
- Creates a new instance of with the specified .
-
- An instance.
-
-
-
- Gets new the instance.
-
-
-
-
- Gets or sets whether to ignore the logical stream associated with the packet provider.
-
-
-
-
- Provides an implementation for basic Ogg files.
-
-
-
-
- Gets the list of stream serials found in the container so far.
-
-
-
-
- Event raised when a new logical stream is found in the container.
-
-
-
-
- Creates a new instance with the specified file.
-
- The full path to the file.
-
-
-
- Creates a new instance with the specified stream. Optionally sets to close the stream when disposed.
-
- The stream to read.
- True to close the stream when is called, otherwise False.
-
-
-
- Initializes the container and finds the first stream.
-
- True if a valid logical stream is found, otherwise False.
-
-
-
- Disposes this instance.
-
-
-
-
- Gets the instance for the specified stream serial.
-
- The stream serial to look for.
- An instance.
- The specified stream serial was not found.
-
-
-
- Finds the next new stream in the container.
-
- True if a new stream was found, otherwise False.
- is False.
-
-
-
- Gets the number of pages that have been read in the container.
-
-
-
-
- Retrieves the total number of pages in the container.
-
- The total number of pages.
- is False.
-
-
-
- Gets whether the container supports seeking.
-
-
-
-
- Gets the number of bits in the container that are not associated with a logical stream.
-
-
-
-
- A single data packet from a logical Vorbis stream.
-
-
-
-
- Defines flags to apply to the current packet
-
-
-
-
- Packet is first since reader had to resync with stream.
-
-
-
-
- Packet is the last in the logical stream.
-
-
-
-
- Packet does not have all its data available.
-
-
-
-
- Packet has a granule count defined.
-
-
-
-
- Flag for use by inheritors.
-
-
-
-
- Flag for use by inheritors.
-
-
-
-
- Flag for use by inheritors.
-
-
-
-
- Flag for use by inheritors.
-
-
-
-
- Gets the value of the specified flag.
-
-
-
-
- Sets the value of the specified flag.
-
-
-
-
- Creates a new instance with the specified length.
-
- The length of the packet.
-
-
-
- Reads the next byte of the packet.
-
- The next byte if available, otherwise -1.
-
-
-
- Indicates that the packet has been read and its data is no longer needed.
-
-
-
-
- Attempts to read the specified number of bits from the packet, but may return fewer. Does not advance the position counter.
-
- The number of bits to attempt to read.
- The number of bits actually read.
- The value of the bits read.
- is not between 0 and 64.
-
-
-
- Advances the position counter by the specified number of bits.
-
- The number of bits to advance.
-
-
-
- Resets the bit reader.
-
-
-
-
- Gets whether the packet was found after a stream resync.
-
-
-
-
- Gets the position of the last granule in the packet.
-
-
-
-
- Gets the position of the last granule in the page the packet is in.
-
-
-
-
- Gets the length of the packet.
-
-
-
-
- Gets whether the packet is the last one in the logical stream.
-
-
-
-
- Gets the number of bits read from the packet.
-
-
-
-
- Gets the number of granules in the packet. If null, the packet has not been decoded yet.
-
-
-
-
- Reads the specified number of bits from the packet and advances the position counter.
-
- The number of bits to read.
- The value of the bits read.
- The number of bits specified is not between 0 and 64.
-
-
-
- Reads the next byte from the packet. Does not advance the position counter.
-
- The byte read from the packet.
-
-
-
- Reads the next byte from the packet and advances the position counter.
-
- The byte read from the packet.
-
-
-
- Reads the specified number of bytes from the packet and advances the position counter.
-
- The number of bytes to read.
- A byte array holding the data read.
-
-
-
- Reads the specified number of bytes from the packet into the buffer specified and advances the position counter.
-
- The buffer to read into.
- The index into the buffer to start placing the read data.
- The number of bytes to read.
- The number of bytes read.
- is less than 0 or + is past the end of .
-
-
-
- Reads the next bit from the packet and advances the position counter.
-
- The value of the bit read.
-
-
-
- Retrieves the next 16 bits from the packet as a and advances the position counter.
-
- The value of the next 16 bits.
-
-
-
- Retrieves the next 32 bits from the packet as a and advances the position counter.
-
- The value of the next 32 bits.
-
-
-
- Retrieves the next 64 bits from the packet as a and advances the position counter.
-
- The value of the next 64 bits.
-
-
-
- Retrieves the next 16 bits from the packet as a and advances the position counter.
-
- The value of the next 16 bits.
-
-
-
- Retrieves the next 32 bits from the packet as a and advances the position counter.
-
- The value of the next 32 bits.
-
-
-
- Retrieves the next 64 bits from the packet as a and advances the position counter.
-
- The value of the next 64 bits.
-
-
-
- Advances the position counter by the specified number of bytes.
-
- The number of bytes to advance.
-
-
-
- Event data for when a logical stream has a parameter change.
-
-
-
-
- Creates a new instance of .
-
- The first packet after the parameter change.
-
-
-
- Gets the first packet after the parameter change. This would typically be the parameters packet.
-
-
-
-
- Gets or Sets whether to limit reads to the smallest size possible.
-
-
-
-
- Gets or Sets the maximum size of the buffer. This is not a hard limit.
-
-
-
-
- Gets the offset of the start of the buffered data. Reads to offsets before this are likely to require a seek.
-
-
-
-
- Gets the number of bytes currently buffered.
-
-
-
-
- Gets the number of bytes the buffer can hold.
-
-
-
-
- Reads the number of bytes specified into the buffer given, starting with the offset indicated.
-
- The offset into the stream to start reading.
- The buffer to read to.
- The index into the buffer to start writing to.
- The number of bytes to read.
- The number of bytes read.
-
-
-
- Tells the buffer that it no longer needs to maintain any bytes before the indicated offset.
-
- The offset to discard through.
-
-
-
- Gets the number of channels in the current selected Vorbis stream
-
-
-
-
- Gets the sample rate of the current selected Vorbis stream
-
-
-
-
- Gets the encoder's upper bitrate of the current selected Vorbis stream
-
-
-
-
- Gets the encoder's nominal bitrate of the current selected Vorbis stream
-
-
-
-
- Gets the encoder's lower bitrate of the current selected Vorbis stream
-
-
-
-
- Gets the encoder's vendor string for the current selected Vorbis stream
-
-
-
-
- Gets the comments in the current selected Vorbis stream
-
-
-
-
- Gets whether the previous short sample count was due to a parameter change in the stream.
-
-
-
-
- Gets the number of bits read that are related to framing and transport alone
-
-
-
-
- Gets or sets whether to automatically apply clipping to samples returned by .
-
-
-
-
- Gets stats from each decoder stream available
-
-
-
-
- Gets the currently-selected stream's index
-
-
-
-
- Reads decoded samples from the current logical stream
-
- The buffer to write the samples to
- The offset into the buffer to write the samples to
- The number of samples to write
- The number of samples written
-
-
-
- Clears the parameter change flag so further samples can be requested.
-
-
-
-
- Returns the number of logical streams found so far in the physical container
-
-
-
-
- Searches for the next stream in a concatenated file
-
- True if a new stream was found, otherwise false.
-
-
-
- Switches to an alternate logical stream.
-
- The logical stream index to switch to
- True if the properties of the logical stream differ from those of the one previously being decoded. Otherwise, False.
-
-
-
- Gets or Sets the current timestamp of the decoder. Is the timestamp before the next sample to be decoded
-
-
-
-
- Gets or Sets the current position of the next sample to be decoded.
-
-
-
-
- Gets the total length of the current logical stream
-
-
-
-
- Gets the counters for latency and bitrate calculations, as well as overall bit counts
-
-
-
-
- Gets the calculated bit rate of audio stream data for the everything decoded so far
-
-
-
-
- Gets the calculated bit rate for the last ~1 second of audio
-
-
-
-
- Gets the calculated latency per page
-
-
-
-
- Gets the calculated latency per packet
-
-
-
-
- Gets the calculated latency per second of output
-
-
-
-
- Gets the number of bits read that do not contribute to the output audio
-
-
-
-
- Gets the number of bits read that contribute to the output audio
-
-
-
-
- Gets the number of pages read so far in the current stream
-
-
-
-
- Gets the total number of pages in the current stream
-
-
-
-
- Gets whether the stream has been clipped since the last reset
-
-
-
-
diff --git a/packages/NVorbis.0.8.5.0/lib/NVorbis.dll b/packages/NVorbis.0.8.5.0/lib/NVorbis.dll
deleted file mode 100644
index 979cd8122..000000000
Binary files a/packages/NVorbis.0.8.5.0/lib/NVorbis.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/RestSharp.105.1.0.nupkg b/packages/RestSharp.105.1.0/RestSharp.105.1.0.nupkg
deleted file mode 100644
index 104ae821e..000000000
Binary files a/packages/RestSharp.105.1.0/RestSharp.105.1.0.nupkg and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/RestSharp.105.1.0.nuspec b/packages/RestSharp.105.1.0/RestSharp.105.1.0.nuspec
deleted file mode 100644
index 3125c0f64..000000000
--- a/packages/RestSharp.105.1.0/RestSharp.105.1.0.nuspec
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- RestSharp
- 105.1.0
- John Sheehan, RestSharp Community
- John Sheehan, RestSharp Community
- https://github.com/restsharp/RestSharp/blob/master/LICENSE.txt
- http://restsharp.org/
- http://dl.dropbox.com/u/1827/restsharp100.png
- false
- Simple REST and HTTP API Client
- For full release notes see https://github.com/restsharp/RestSharp/blob/master/releasenotes.markdown
- en-US
- REST HTTP API JSON XML
-
-
\ No newline at end of file
diff --git a/packages/RestSharp.105.1.0/lib/net35-client/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net35-client/RestSharp.dll
deleted file mode 100644
index 4c2ab856f..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net35-client/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net35-client/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net35-client/RestSharp.xml
deleted file mode 100644
index e3ab26a9f..000000000
--- a/packages/RestSharp.105.1.0/lib/net35-client/RestSharp.xml
+++ /dev/null
@@ -1,2777 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- HttpWebRequest wrapper (sync methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (async methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net35/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net35/RestSharp.dll
deleted file mode 100644
index 4c2ab856f..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net35/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net35/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net35/RestSharp.xml
deleted file mode 100644
index e3ab26a9f..000000000
--- a/packages/RestSharp.105.1.0/lib/net35/RestSharp.xml
+++ /dev/null
@@ -1,2777 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- HttpWebRequest wrapper (sync methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (async methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net4-client/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net4-client/RestSharp.dll
deleted file mode 100644
index a7331ed6e..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net4-client/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net4-client/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net4-client/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net4-client/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net4/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net4/RestSharp.dll
deleted file mode 100644
index a7331ed6e..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net4/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net4/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net4/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net4/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net45-client/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net45-client/RestSharp.dll
deleted file mode 100644
index 59d82f941..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net45-client/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net45-client/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net45-client/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net45-client/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net45/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net45/RestSharp.dll
deleted file mode 100644
index 59d82f941..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net45/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net45/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net45/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net45/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net451-client/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net451-client/RestSharp.dll
deleted file mode 100644
index 19bd72b38..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net451-client/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net451-client/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net451-client/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net451-client/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net451/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net451/RestSharp.dll
deleted file mode 100644
index 19bd72b38..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net451/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net451/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net451/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net451/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net452-client/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net452-client/RestSharp.dll
deleted file mode 100644
index f1e3745f8..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net452-client/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net452-client/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net452-client/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net452-client/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/net452/RestSharp.dll b/packages/RestSharp.105.1.0/lib/net452/RestSharp.dll
deleted file mode 100644
index f1e3745f8..000000000
Binary files a/packages/RestSharp.105.1.0/lib/net452/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/net452/RestSharp.xml b/packages/RestSharp.105.1.0/lib/net452/RestSharp.xml
deleted file mode 100644
index 1820325a0..000000000
--- a/packages/RestSharp.105.1.0/lib/net452/RestSharp.xml
+++ /dev/null
@@ -1,3014 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/sl4/RestSharp.Silverlight.dll b/packages/RestSharp.105.1.0/lib/sl4/RestSharp.Silverlight.dll
deleted file mode 100644
index ddf6bac38..000000000
Binary files a/packages/RestSharp.105.1.0/lib/sl4/RestSharp.Silverlight.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/sl4/RestSharp.Silverlight.xml b/packages/RestSharp.105.1.0/lib/sl4/RestSharp.Silverlight.xml
deleted file mode 100644
index 5a6f90356..000000000
--- a/packages/RestSharp.105.1.0/lib/sl4/RestSharp.Silverlight.xml
+++ /dev/null
@@ -1,2588 +0,0 @@
-
-
-
- RestSharp.Silverlight
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
diff --git a/packages/RestSharp.105.1.0/lib/windowsphone8/RestSharp.WindowsPhone.dll b/packages/RestSharp.105.1.0/lib/windowsphone8/RestSharp.WindowsPhone.dll
deleted file mode 100644
index 9e258a385..000000000
Binary files a/packages/RestSharp.105.1.0/lib/windowsphone8/RestSharp.WindowsPhone.dll and /dev/null differ
diff --git a/packages/RestSharp.105.1.0/lib/windowsphone8/RestSharp.WindowsPhone.xml b/packages/RestSharp.105.1.0/lib/windowsphone8/RestSharp.WindowsPhone.xml
deleted file mode 100644
index 0fb7f9840..000000000
--- a/packages/RestSharp.105.1.0/lib/windowsphone8/RestSharp.WindowsPhone.xml
+++ /dev/null
@@ -1,3821 +0,0 @@
-
-
-
- RestSharp.WindowsPhone
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial
- used by Zip. This type is used internally by DotNetZip; it is generally not used
- directly by applications wishing to create, read, or manipulate zip archive
- files.
-
-
-
-
- Returns the CRC32 for the specified stream.
-
- The stream over which to calculate the CRC32
- the CRC32 calculation
-
-
-
- Returns the CRC32 for the specified stream, and writes the input into the
- output stream.
-
- The stream over which to calculate the CRC32
- The stream into which to deflate the input
- the CRC32 calculation
-
-
-
- Get the CRC32 for the given (word,byte) combo. This is a computation
- defined by PKzip.
-
- The word to start with.
- The byte to combine it with.
- The CRC-ized result.
-
-
-
- Update the value for the running CRC32 using the given block of bytes.
- This is useful when using the CRC32() class in a Stream.
-
- block of bytes to slurp
- starting point in the block
- how many bytes within the block to slurp
-
-
-
- indicates the total number of bytes read on the CRC stream.
- This is used when writing the ZipDirEntry when compressing files.
-
-
-
-
- Indicates the current CRC for all blocks slurped in.
-
-
-
-
- A Stream that calculates a CRC32 (a checksum) on all bytes read,
- or on all bytes written.
-
-
-
-
- This class can be used to verify the CRC of a ZipEntry when
- reading from a stream, or to calculate a CRC when writing to a
- stream. The stream should be used to either read, or write, but
- not both. If you intermix reads and writes, the results are not
- defined.
-
-
-
- This class is intended primarily for use internally by the
- DotNetZip library.
-
-
-
-
-
- The default constructor.
-
-
- Instances returned from this constructor will leave the underlying stream
- open upon Close().
-
- The underlying stream
-
-
-
- The constructor allows the caller to specify how to handle the underlying
- stream at close.
-
- The underlying stream
- true to leave the underlying stream
- open upon close of the CrcCalculatorStream.; false otherwise.
-
-
-
- A constructor allowing the specification of the length of the stream to read.
-
-
- Instances returned from this constructor will leave the underlying stream open
- upon Close().
-
- The underlying stream
- The length of the stream to slurp
-
-
-
- A constructor allowing the specification of the length of the stream to
- read, as well as whether to keep the underlying stream open upon Close().
-
- The underlying stream
- The length of the stream to slurp
- true to leave the underlying stream
- open upon close of the CrcCalculatorStream.; false otherwise.
-
-
-
- Read from the stream
-
- the buffer to read
- the offset at which to start
- the number of bytes to read
- the number of bytes actually read
-
-
-
- Write to the stream.
-
- the buffer from which to write
- the offset at which to start writing
- the number of bytes to write
-
-
-
- Flush the stream.
-
-
-
-
- Not implemented.
-
- N/A
- N/A
- N/A
-
-
-
- Not implemented.
-
- N/A
-
-
-
- Closes the stream.
-
-
-
-
- Gets the total number of bytes run through the CRC32 calculator.
-
-
-
- This is either the total number of bytes read, or the total number of bytes
- written, depending on the direction of this stream.
-
-
-
-
- Provides the current CRC for all blocks slurped in.
-
-
-
-
- Indicates whether the underlying stream will be left open when the
- CrcCalculatorStream is Closed.
-
-
-
-
- Indicates whether the stream supports reading.
-
-
-
-
- Indicates whether the stream supports seeking.
-
-
-
-
- Indicates whether the stream supports writing.
-
-
-
-
- Not implemented.
-
-
-
-
- Not implemented.
-
-
-
-
- Describes how to flush the current deflate operation.
-
-
- The different FlushType values are useful when using a Deflate in a streaming application.
-
-
-
- No flush at all.
-
-
- Closes the current block, but doesn't flush it to
- the output. Used internally only in hypothetical
- scenarios. This was supposed to be removed by Zlib, but it is
- still in use in some edge cases.
-
-
-
-
- Use this during compression to specify that all pending output should be
- flushed to the output buffer and the output should be aligned on a byte
- boundary. You might use this in a streaming communication scenario, so that
- the decompressor can get all input data available so far. When using this
- with a ZlibCodec, AvailableBytesIn will be zero after the call if
- enough output space has been provided before the call. Flushing will
- degrade compression and so it should be used only when necessary.
-
-
-
-
- Use this during compression to specify that all output should be flushed, as
- with FlushType.Sync, but also, the compression state should be reset
- so that decompression can restart from this point if previous compressed
- data has been damaged or if random access is desired. Using
- FlushType.Full too often can significantly degrade the compression.
-
-
-
- Signals the end of the compression/decompression stream.
-
-
-
- A class for compressing and decompressing GZIP streams.
-
-
-
-
- The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream.
-
-
- Like the Compression.GZipStream in the .NET Base
- Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress
- while reading, but not vice versa. The compression method used is GZIP, which is
- documented in IETF RFC 1952,
- "GZIP file format specification version 4.3".
-
- A GZipStream can be used to decompress data (through Read()) or to compress
- data (through Write()), but not both.
-
- If you wish to use the GZipStream to compress data, you must wrap it around a
- write-able stream. As you call Write() on the GZipStream, the data will be
- compressed into the GZIP format. If you want to decompress data, you must wrap the
- GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream.
- The data will be decompressed as you call Read() on the GZipStream.
-
- Though the GZIP format allows data from multiple files to be concatenated
- together, this stream handles only a single segment of GZIP format, typically
- representing a single file.
-
-
- This class is similar to and .
- ZlibStream handles RFC1950-compliant streams.
- handles RFC1951-compliant streams. This class handles RFC1952-compliant streams.
-
-
-
-
-
-
-
-
-
- The last modified time for the GZIP stream.
-
-
- GZIP allows the storage of a last modified time with each GZIP entry.
- When compressing data, you can set this before the first call to Write(). When
- decompressing, you can retrieve this value any time after the first call to
- Read().
-
-
-
- Create a GZipStream using the specified CompressionMode and the specified CompressionLevel,
- and explicitly specify whether the stream should be left open after Deflation or Inflation.
-
-
-
- This constructor allows the application to request that the captive stream remain open after
- the deflation or inflation occurs. By default, after Close() is called on the stream, the
- captive stream is also closed. In some cases this is not desired, for example if the stream
- is a memory stream that will be re-read after compressed data has been written to it. Specify true for the
- leaveOpen parameter to leave the stream open.
-
-
- As noted in the class documentation,
- the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream.
- A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with
- CompressionMode.Decompress works only through Read().
-
-
-
- This example shows how to use a DeflateStream to compress data.
-
- using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress))
- {
- using (var raw = System.IO.File.Create(outputFile))
- {
- using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true))
- {
- byte[] buffer = new byte[WORKING_BUFFER_SIZE];
- int n;
- while ((n= input.Read(buffer, 0, buffer.Length)) != 0)
- {
- compressor.Write(buffer, 0, n);
- }
- }
- }
- }
-
-
- Dim outputFile As String = (fileToCompress & ".compressed")
- Using input As Stream = File.OpenRead(fileToCompress)
- Using raw As FileStream = File.Create(outputFile)
- Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True)
- Dim buffer As Byte() = New Byte(4096) {}
- Dim n As Integer = -1
- Do While (n <> 0)
- If (n > 0) Then
- compressor.Write(buffer, 0, n)
- End If
- n = input.Read(buffer, 0, buffer.Length)
- Loop
- End Using
- End Using
- End Using
-
-
- The stream which will be read or written.
- Indicates whether the GZipStream will compress or decompress.
- true if the application would like the stream to remain open after inflation/deflation.
- A tuning knob to trade speed for effectiveness.
-
-
-
- Dispose the stream.
-
-
- This may or may not result in a Close() call on the captive stream.
- See the ctor's with leaveOpen parameters for more information.
-
-
-
-
- Flush the stream.
-
-
-
-
- Read and decompress data from the source stream.
-
-
- With a GZipStream, decompression is done through reading.
-
-
-
- byte[] working = new byte[WORKING_BUFFER_SIZE];
- using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile))
- {
- using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true))
- {
- using (var output = System.IO.File.Create(_DecompressedFile))
- {
- int n;
- while ((n= decompressor.Read(working, 0, working.Length)) !=0)
- {
- output.Write(working, 0, n);
- }
- }
- }
- }
-
-
- The buffer into which the decompressed data should be placed.
- the offset within that data array to put the first byte read.
- the number of bytes to read.
- the number of bytes actually read
-
-
-
- Calling this method always throws a .
-
- irrelevant; it will always throw!
- irrelevant; it will always throw!
- irrelevant!
-
-
-
- Calling this method always throws a NotImplementedException.
-
- irrelevant; this method will always throw!
-
-
-
- The Comment on the GZIP stream.
-
-
-
- The GZIP format allows for each file to optionally have an associated comment stored with the
- file. The comment is encoded with the ISO-8859-1 code page. To include a comment in
- a GZIP stream you create, set this property before calling Write() for the first time
- on the GZipStream.
-
-
-
- When using GZipStream to decompress, you can retrieve this property after the first
- call to Read(). If no comment has been set in the GZIP bytestream, the Comment
- property will return null (Nothing in VB).
-
-
-
-
-
- The FileName for the GZIP stream.
-
-
-
- The GZIP format optionally allows each file to have an associated filename. When
- compressing data (through Write()), set this FileName before calling Write() the first
- time on the GZipStream. The actual filename is encoded into the GZIP bytestream with
- the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to
- insure that the FileName can be encoded and decoded correctly with this code page.
-
-
- When decompressing (through Read()), you can retrieve this value any time after the
- first Read(). In the case where there was no filename encoded into the GZIP
- bytestream, the property will return null (Nothing in VB).
-
-
-
-
-
- The CRC on the GZIP stream.
-
-
- This is used for internal error checking. You probably don't need to look at this property.
-
-
-
-
- This property sets the flush behavior on the stream.
-
-
-
-
- The size of the working buffer for the compression codec.
-
-
-
-
- The working buffer is used for all stream operations. The default size is 1024 bytes.
- The minimum size is 128 bytes. You may get better performance with a larger buffer.
- Then again, you might not. You would have to test it.
-
-
-
- Set this before the first call to Read() or Write() on the stream. If you try to set it
- afterwards, it will throw.
-
-
-
-
- Returns the total number of bytes input so far.
-
-
- Returns the total number of bytes output so far.
-
-
-
- Indicates whether the stream can be read.
-
-
- The return value depends on whether the captive stream supports reading.
-
-
-
-
- Indicates whether the stream supports Seek operations.
-
-
- Always returns false.
-
-
-
-
- Indicates whether the stream can be written.
-
-
- The return value depends on whether the captive stream supports writing.
-
-
-
-
- Reading this property always throws a NotImplementedException.
-
-
-
-
- The position of the stream pointer.
-
-
- Writing this property always throws a NotImplementedException. Reading will
- return the total bytes written out, if used in writing, or the total bytes
- read in, if used in reading. The count may refer to compressed bytes or
- uncompressed bytes, depending on how you've used the stream.
-
-
-
-
- A general purpose exception class for exceptions in the Zlib library.
-
-
-
-
- The ZlibException class captures exception information generated
- by the Zlib library.
-
-
-
-
- This ctor collects a message attached to the exception.
-
-
-
-
-
- Performs an unsigned bitwise right shift with the specified number
-
- Number to operate on
- Ammount of bits to shift
- The resulting number from the shift operation
-
-
-
- Performs an unsigned bitwise right shift with the specified number
-
- Number to operate on
- Ammount of bits to shift
- The resulting number from the shift operation
-
-
- Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.
- The source TextReader to read from
- Contains the array of characteres read from the source TextReader.
- The starting index of the target array.
- The maximum number of characters to read from the source TextReader.
- The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.
-
-
-
- Computes an Adler-32 checksum.
-
-
- The Adler checksum is similar to a CRC checksum, but faster to compute, though less
- reliable. It is used in producing RFC1950 compressed streams. The Adler checksum
- is a required part of the "ZLIB" standard. Applications will almost never need to
- use this class directly.
-
-
-
-
- Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951).
-
-
-
- This class compresses and decompresses data according to the Deflate algorithm
- and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE.
-
-
-
-
- The buffer from which data is taken.
-
-
-
-
- An index into the InputBuffer array, indicating where to start reading.
-
-
-
-
- The number of bytes available in the InputBuffer, starting at NextIn.
-
-
- Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call.
- The class will update this number as calls to Inflate/Deflate are made.
-
-
-
-
- Total number of bytes read so far, through all calls to Inflate()/Deflate().
-
-
-
-
- Buffer to store output data.
-
-
-
-
- An index into the OutputBuffer array, indicating where to start writing.
-
-
-
-
- The number of bytes available in the OutputBuffer, starting at NextOut.
-
-
- Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call.
- The class will update this number as calls to Inflate/Deflate are made.
-
-
-
-
- Total number of bytes written to the output so far, through all calls to Inflate()/Deflate().
-
-
-
-
- used for diagnostics, when something goes wrong!
-
-
-
-
- The number of Window Bits to use.
-
-
- This gauges the size of the sliding window, and hence the
- compression effectiveness as well as memory consumption. It's best to just leave this
- setting alone if you don't know what it is. The maximum value is 15 bits, which implies
- a 32k window.
-
-
-
-
- Create a ZlibCodec that decompresses.
-
-
-
-
- Initialize the inflation state.
-
-
- It is not necessary to call this before using the ZlibCodec to inflate data;
- It is implicitly called when you call the constructor.
-
- Z_OK if everything goes well.
-
-
-
- Initialize the inflation state with an explicit flag to
- govern the handling of RFC1950 header bytes.
-
-
-
- By default, the ZLIB header defined in RFC 1950 is expected. If
- you want to read a zlib stream you should specify true for
- expectRfc1950Header. If you have a deflate stream, you will want to specify
- false. It is only necessary to invoke this initializer explicitly if you
- want to specify false.
-
-
- whether to expect an RFC1950 header byte
- pair when reading the stream of data to be inflated.
-
- Z_OK if everything goes well.
-
-
-
- Initialize the ZlibCodec for inflation, with the specified number of window bits.
-
- The number of window bits to use. If you need to ask what that is,
- then you shouldn't be calling this initializer.
- Z_OK if all goes well.
-
-
-
- Initialize the inflation state with an explicit flag to govern the handling of
- RFC1950 header bytes.
-
-
-
- If you want to read a zlib stream you should specify true for
- expectRfc1950Header. In this case, the library will expect to find a ZLIB
- header, as defined in RFC
- 1950, in the compressed stream. If you will be reading a DEFLATE or
- GZIP stream, which does not have such a header, you will want to specify
- false.
-
-
- whether to expect an RFC1950 header byte pair when reading
- the stream of data to be inflated.
- The number of window bits to use. If you need to ask what that is,
- then you shouldn't be calling this initializer.
- Z_OK if everything goes well.
-
-
-
- Inflate the data in the InputBuffer, placing the result in the OutputBuffer.
-
-
- You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and
- AvailableBytesOut before calling this method.
-
-
-
- private void InflateBuffer()
- {
- int bufferSize = 1024;
- byte[] buffer = new byte[bufferSize];
- ZlibCodec decompressor = new ZlibCodec();
-
- Console.WriteLine("\n============================================");
- Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length);
- MemoryStream ms = new MemoryStream(DecompressedBytes);
-
- int rc = decompressor.InitializeInflate();
-
- decompressor.InputBuffer = CompressedBytes;
- decompressor.NextIn = 0;
- decompressor.AvailableBytesIn = CompressedBytes.Length;
-
- decompressor.OutputBuffer = buffer;
-
- // pass 1: inflate
- do
- {
- decompressor.NextOut = 0;
- decompressor.AvailableBytesOut = buffer.Length;
- rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH);
-
- if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END)
- throw new Exception("inflating: " + decompressor.Message);
-
- ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut);
- }
- while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0);
-
- // pass 2: finish and flush
- do
- {
- decompressor.NextOut = 0;
- decompressor.AvailableBytesOut = buffer.Length;
- rc = decompressor.Inflate(ZlibConstants.Z_FINISH);
-
- if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK)
- throw new Exception("inflating: " + decompressor.Message);
-
- if (buffer.Length - decompressor.AvailableBytesOut > 0)
- ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut);
- }
- while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0);
-
- decompressor.EndInflate();
- }
-
-
-
- The flush to use when inflating.
- Z_OK if everything goes well.
-
-
-
- Ends an inflation session.
-
-
- Call this after successively calling Inflate(). This will cause all buffers to be flushed.
- After calling this you cannot call Inflate() without a intervening call to one of the
- InitializeInflate() overloads.
-
- Z_OK if everything goes well.
-
-
-
- I don't know what this does!
-
- Z_OK if everything goes well.
-
-
-
- Set the dictionary to be used for either Inflation or Deflation.
-
- The dictionary bytes to use.
- Z_OK if all goes well.
-
-
-
- The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this.
-
-
-
-
- A bunch of constants used in the Zlib interface.
-
-
-
-
- The maximum number of window bits for the Deflate algorithm.
-
-
-
-
- The default number of window bits for the Deflate algorithm.
-
-
-
-
- indicates everything is A-OK
-
-
-
-
- Indicates that the last operation reached the end of the stream.
-
-
-
-
- The operation ended in need of a dictionary.
-
-
-
-
- There was an error with the stream - not enough data, not open and readable, etc.
-
-
-
-
- There was an error with the data - not enough data, bad data, etc.
-
-
-
-
- There was an error with the working buffer.
-
-
-
-
- The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes.
-
-
-
-
- The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes.
-
-
-
-
- Represents a Zlib stream for compression or decompression.
-
-
-
-
- The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any
- stream.
-
-
- Using this stream, applications can compress or decompress data via
- stream Read and Write operations. Either compresssion or
- decompression can occur through either reading or writing. The compression
- format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed
- Data Format Specification version 3.3". This implementation of ZLIB always uses
- DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE
- Compressed Data Format Specification version 1.3.")
-
-
- The ZLIB format allows for varying compression methods, window sizes, and dictionaries.
- This implementation always uses the DEFLATE compression method, a preset dictionary,
- and 15 window bits by default.
-
-
-
- This class is similar to , except that it adds the
- RFC1950 header and trailer bytes to a compressed stream when compressing, or expects
- the RFC1950 header and trailer bytes when decompressing. It is also similar to the
- .
-
-
-
-
-
-
-
- Dispose the stream.
-
-
- This may or may not result in a Close() call on the captive stream.
- See the constructors that have a leaveOpen parameter for more information.
-
-
-
-
- Flush the stream.
-
-
-
-
- Read data from the stream.
-
-
-
-
-
- If you wish to use the ZlibStream to compress data while reading, you can create a
- ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then
- call Read() on that ZlibStream, and the data read will be compressed. If you wish to
- use the ZlibStream to decompress data while reading, you can create a ZlibStream with
- CompressionMode.Decompress, providing a readable compressed data stream. Then call
- Read() on that ZlibStream, and the data will be decompressed as it is read.
-
-
-
- A ZlibStream can be used for Read() or Write(), but not both.
-
-
- The buffer into which the read data should be placed.
- the offset within that data array to put the first byte read.
- the number of bytes to read.
-
-
-
- Calling this method always throws a NotImplementedException.
-
-
-
-
- Calling this method always throws a NotImplementedException.
-
-
-
-
- Write data to the stream.
-
-
-
-
-
- If you wish to use the ZlibStream to compress data while writing, you can create a
- ZlibStream with CompressionMode.Compress, and a writable output stream. Then call
- Write() on that ZlibStream, providing uncompressed data as input. The data sent to
- the output stream will be the compressed form of the data written. If you wish to use
- the ZlibStream to decompress data while writing, you can create a ZlibStream with
- CompressionMode.Decompress, and a writable output stream. Then call Write() on that
- stream, providing previously compressed data. The data sent to the output stream will
- be the decompressed form of the data written.
-
-
-
- A ZlibStream can be used for Read() or Write(), but not both.
-
-
- The buffer holding data to write to the stream.
- the offset within that data array to find the first byte to write.
- the number of bytes to write.
-
-
-
- Uncompress a byte array into a single string.
-
-
-
- A buffer containing ZLIB-compressed data.
-
-
-
-
- Uncompress a byte array into a byte array.
-
-
-
-
- A buffer containing ZLIB-compressed data.
-
-
-
-
- This property sets the flush behavior on the stream.
- Sorry, though, not sure exactly how to describe all the various settings.
-
-
-
-
- The size of the working buffer for the compression codec.
-
-
-
-
- The working buffer is used for all stream operations. The default size is 1024 bytes.
- The minimum size is 128 bytes. You may get better performance with a larger buffer.
- Then again, you might not. You would have to test it.
-
-
-
- Set this before the first call to Read() or Write() on the stream. If you try to set it
- afterwards, it will throw.
-
-
-
-
- Returns the total number of bytes input so far.
-
-
- Returns the total number of bytes output so far.
-
-
-
- Indicates whether the stream can be read.
-
-
- The return value depends on whether the captive stream supports reading.
-
-
-
-
- Indicates whether the stream supports Seek operations.
-
-
- Always returns false.
-
-
-
-
- Indicates whether the stream can be written.
-
-
- The return value depends on whether the captive stream supports writing.
-
-
-
-
- Reading this property always throws a NotImplementedException.
-
-
-
-
- The position of the stream pointer.
-
-
- Writing this property always throws a NotImplementedException. Reading will
- return the total bytes written out, if used in writing, or the total bytes
- read in, if used in reading. The count may refer to compressed bytes or
- uncompressed bytes, depending on how you've used the stream.
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
diff --git a/packages/RestSharp.105.1.0/readme.txt b/packages/RestSharp.105.1.0/readme.txt
deleted file mode 100644
index 44a1b2fe7..000000000
--- a/packages/RestSharp.105.1.0/readme.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 ***
-
-In 103.0, JSON.NET was removed as a dependency.
-
-If this is still installed in your project and no other libraries depend on
-it you may remove it from your installed packages.
-
-There is one breaking change: the default Json*Serializer* is no longer
-compatible with Json.NET. To use Json.NET for serialization, copy the code
-from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs
-and register it with your client:
-
-var client = new RestClient();
-client.JsonSerializer = new YourCustomSerializer();
-
-The default Json*Deserializer* is mostly compatible, but it does not support
-all features which Json.NET has (like the ability to support a custom [JsonConverter]
-by decorating a certain property with an attribute). If you need these features, you
-must take care of the deserialization yourself to get it working.
-
-If you run into any compatibility issues with deserialization,
-please report it to http://groups.google.com/group/restsharp
diff --git a/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg b/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg
deleted file mode 100644
index af89bdafb..000000000
Binary files a/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/RestSharp.105.2.3.nuspec b/packages/RestSharp.105.2.3/RestSharp.105.2.3.nuspec
deleted file mode 100644
index 312823988..000000000
--- a/packages/RestSharp.105.2.3/RestSharp.105.2.3.nuspec
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- RestSharp
- 105.2.3
- John Sheehan, RestSharp Community
- John Sheehan, RestSharp Community
- https://github.com/restsharp/RestSharp/blob/master/LICENSE.txt
- http://restsharp.org/
- http://dl.dropbox.com/u/1827/restsharp100.png
- false
- Simple REST and HTTP API Client
- For full release notes see https://github.com/restsharp/RestSharp/blob/master/releasenotes.markdown
- en-US
- REST HTTP API JSON XML
-
-
\ No newline at end of file
diff --git a/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll b/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll
deleted file mode 100644
index 9f15b1b04..000000000
Binary files a/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml b/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml
deleted file mode 100644
index d48b0034a..000000000
--- a/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml
+++ /dev/null
@@ -1,3020 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Deserialized entity data
-
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll b/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll
deleted file mode 100644
index aff63af03..000000000
Binary files a/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml b/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml
deleted file mode 100644
index d48b0034a..000000000
--- a/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml
+++ /dev/null
@@ -1,3020 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Deserialized entity data
-
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll b/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll
deleted file mode 100644
index 5c24dc22b..000000000
Binary files a/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml b/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml
deleted file mode 100644
index d48b0034a..000000000
--- a/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml
+++ /dev/null
@@ -1,3020 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Deserialized entity data
-
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll
deleted file mode 100644
index 0b0001b5a..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml
deleted file mode 100644
index 543b8b01d..000000000
--- a/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml
+++ /dev/null
@@ -1,2858 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- HttpWebRequest wrapper (sync methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (async methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll
deleted file mode 100644
index b48af8715..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml
deleted file mode 100644
index 16ca278fa..000000000
--- a/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml
+++ /dev/null
@@ -1,3095 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll
deleted file mode 100644
index b48af8715..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml
deleted file mode 100644
index 16ca278fa..000000000
--- a/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml
+++ /dev/null
@@ -1,3095 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll
deleted file mode 100644
index 533b3cc8a..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml
deleted file mode 100644
index 16ca278fa..000000000
--- a/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml
+++ /dev/null
@@ -1,3095 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll
deleted file mode 100644
index d8414d1a9..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml
deleted file mode 100644
index 16ca278fa..000000000
--- a/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml
+++ /dev/null
@@ -1,3095 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll
deleted file mode 100644
index 31e4704f8..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml
deleted file mode 100644
index 16ca278fa..000000000
--- a/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml
+++ /dev/null
@@ -1,3095 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll b/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll
deleted file mode 100644
index 8af7bc116..000000000
Binary files a/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml
deleted file mode 100644
index 16ca278fa..000000000
--- a/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml
+++ /dev/null
@@ -1,3095 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
-
-
-
-
- Authenticate with the credentials of the currently logged in user
-
-
-
-
- Authenticate by impersonation
-
-
-
-
-
-
- Authenticate by impersonation, using an existing ICredentials instance
-
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Decodes an HTML-encoded string and returns the decoded string.
-
- The HTML string to decode.
- The decoded text.
-
-
-
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
-
- The HTML string to decode
- The TextWriter output stream containing the decoded string.
-
-
-
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
-
- The string to encode.
- The TextWriter output stream containing the encoded string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
- HttpWebRequest wrapper (sync methods)
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- Execute a POST request
-
-
-
-
- Execute a PUT request
-
-
-
-
- Execute a GET request
-
-
-
-
- Execute a HEAD request
-
-
-
-
- Execute an OPTIONS request
-
-
-
-
- Execute a DELETE request
-
-
-
-
- Execute a PATCH request
-
-
-
-
- Execute a MERGE request
-
-
-
-
- Execute a GET-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- Execute a POST-style request with the specified HTTP Method.
-
- The HTTP method to execute.
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Maximum number of automatic redirects to follow if FollowRedirects is true
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Proxy info to be sent with request
-
-
-
-
- Caching policy for requests created with this wrapper.
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Executes the specified request and downloads the response data
-
- Request to execute
- Response data
-
-
-
- Executes the request and returns a response, authenticating if needed
-
- Request to be executed
- RestResponse
-
-
-
- Executes the specified request and deserializes the response content using the appropriate content handler
-
- Target deserialization type
- Request to execute
- RestResponse[[T]] with deserialized data in Data property
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- X509CertificateCollection to be sent with request
-
-
-
-
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
-
-
-
-
- The cache policy to use for requests initiated by this client instance.
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
-
- Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion.
- The result of the type conversion operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
-
- Provides information about the deletion.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3.
- The result of the index operation.
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The result of the get operation. For example, if the method is called for a property, you can assign the property value to .
-
- Alwasy returns true.
-
-
-
-
- Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index.
-
- Provides information about the operation.
- The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3.
- The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10.
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
-
-
-
-
- Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property.
-
- Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive.
- The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test".
-
- true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.)
-
-
-
-
- Returns the enumeration of all dynamic member names.
-
-
- A sequence that contains dynamic member names.
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll b/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll
deleted file mode 100644
index 9b07a2d48..000000000
Binary files a/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml b/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml
deleted file mode 100644
index 0fdfe6cc4..000000000
--- a/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml
+++ /dev/null
@@ -1,2649 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
- JSON WEB TOKEN (JWT) Authenticator class.
- https://tools.ietf.org/html/draft-ietf-oauth-json-web-token
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Save a byte array to a file
-
- Bytes to save
- Full path to save file to
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll b/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll
deleted file mode 100644
index e7289c244..000000000
Binary files a/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml b/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml
deleted file mode 100644
index 83f9ce605..000000000
--- a/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml
+++ /dev/null
@@ -1,3866 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial
- used by Zip. This type is used internally by DotNetZip; it is generally not used
- directly by applications wishing to create, read, or manipulate zip archive
- files.
-
-
-
-
- Returns the CRC32 for the specified stream.
-
- The stream over which to calculate the CRC32
- the CRC32 calculation
-
-
-
- Returns the CRC32 for the specified stream, and writes the input into the
- output stream.
-
- The stream over which to calculate the CRC32
- The stream into which to deflate the input
- the CRC32 calculation
-
-
-
- Get the CRC32 for the given (word,byte) combo. This is a computation
- defined by PKzip.
-
- The word to start with.
- The byte to combine it with.
- The CRC-ized result.
-
-
-
- Update the value for the running CRC32 using the given block of bytes.
- This is useful when using the CRC32() class in a Stream.
-
- block of bytes to slurp
- starting point in the block
- how many bytes within the block to slurp
-
-
-
- indicates the total number of bytes read on the CRC stream.
- This is used when writing the ZipDirEntry when compressing files.
-
-
-
-
- Indicates the current CRC for all blocks slurped in.
-
-
-
-
- A Stream that calculates a CRC32 (a checksum) on all bytes read,
- or on all bytes written.
-
-
-
-
- This class can be used to verify the CRC of a ZipEntry when
- reading from a stream, or to calculate a CRC when writing to a
- stream. The stream should be used to either read, or write, but
- not both. If you intermix reads and writes, the results are not
- defined.
-
-
-
- This class is intended primarily for use internally by the
- DotNetZip library.
-
-
-
-
-
- The default constructor.
-
-
- Instances returned from this constructor will leave the underlying stream
- open upon Close().
-
- The underlying stream
-
-
-
- The constructor allows the caller to specify how to handle the underlying
- stream at close.
-
- The underlying stream
- true to leave the underlying stream
- open upon close of the CrcCalculatorStream.; false otherwise.
-
-
-
- A constructor allowing the specification of the length of the stream to read.
-
-
- Instances returned from this constructor will leave the underlying stream open
- upon Close().
-
- The underlying stream
- The length of the stream to slurp
-
-
-
- A constructor allowing the specification of the length of the stream to
- read, as well as whether to keep the underlying stream open upon Close().
-
- The underlying stream
- The length of the stream to slurp
- true to leave the underlying stream
- open upon close of the CrcCalculatorStream.; false otherwise.
-
-
-
- Read from the stream
-
- the buffer to read
- the offset at which to start
- the number of bytes to read
- the number of bytes actually read
-
-
-
- Write to the stream.
-
- the buffer from which to write
- the offset at which to start writing
- the number of bytes to write
-
-
-
- Flush the stream.
-
-
-
-
- Not implemented.
-
- N/A
- N/A
- N/A
-
-
-
- Not implemented.
-
- N/A
-
-
-
- Closes the stream.
-
-
-
-
- Gets the total number of bytes run through the CRC32 calculator.
-
-
-
- This is either the total number of bytes read, or the total number of bytes
- written, depending on the direction of this stream.
-
-
-
-
- Provides the current CRC for all blocks slurped in.
-
-
-
-
- Indicates whether the underlying stream will be left open when the
- CrcCalculatorStream is Closed.
-
-
-
-
- Indicates whether the stream supports reading.
-
-
-
-
- Indicates whether the stream supports seeking.
-
-
-
-
- Indicates whether the stream supports writing.
-
-
-
-
- Not implemented.
-
-
-
-
- Not implemented.
-
-
-
-
- Describes how to flush the current deflate operation.
-
-
- The different FlushType values are useful when using a Deflate in a streaming application.
-
-
-
- No flush at all.
-
-
- Closes the current block, but doesn't flush it to
- the output. Used internally only in hypothetical
- scenarios. This was supposed to be removed by Zlib, but it is
- still in use in some edge cases.
-
-
-
-
- Use this during compression to specify that all pending output should be
- flushed to the output buffer and the output should be aligned on a byte
- boundary. You might use this in a streaming communication scenario, so that
- the decompressor can get all input data available so far. When using this
- with a ZlibCodec, AvailableBytesIn will be zero after the call if
- enough output space has been provided before the call. Flushing will
- degrade compression and so it should be used only when necessary.
-
-
-
-
- Use this during compression to specify that all output should be flushed, as
- with FlushType.Sync, but also, the compression state should be reset
- so that decompression can restart from this point if previous compressed
- data has been damaged or if random access is desired. Using
- FlushType.Full too often can significantly degrade the compression.
-
-
-
- Signals the end of the compression/decompression stream.
-
-
-
- A class for compressing and decompressing GZIP streams.
-
-
-
-
- The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream.
-
-
- Like the Compression.GZipStream in the .NET Base
- Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress
- while reading, but not vice versa. The compression method used is GZIP, which is
- documented in IETF RFC 1952,
- "GZIP file format specification version 4.3".
-
- A GZipStream can be used to decompress data (through Read()) or to compress
- data (through Write()), but not both.
-
- If you wish to use the GZipStream to compress data, you must wrap it around a
- write-able stream. As you call Write() on the GZipStream, the data will be
- compressed into the GZIP format. If you want to decompress data, you must wrap the
- GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream.
- The data will be decompressed as you call Read() on the GZipStream.
-
- Though the GZIP format allows data from multiple files to be concatenated
- together, this stream handles only a single segment of GZIP format, typically
- representing a single file.
-
-
- This class is similar to and .
- ZlibStream handles RFC1950-compliant streams.
- handles RFC1951-compliant streams. This class handles RFC1952-compliant streams.
-
-
-
-
-
-
-
-
-
- Create a GZipStream using the specified CompressionMode and the specified CompressionLevel,
- and explicitly specify whether the stream should be left open after Deflation or Inflation.
-
-
-
- This constructor allows the application to request that the captive stream remain open after
- the deflation or inflation occurs. By default, after Close() is called on the stream, the
- captive stream is also closed. In some cases this is not desired, for example if the stream
- is a memory stream that will be re-read after compressed data has been written to it. Specify true for the
- leaveOpen parameter to leave the stream open.
-
-
- As noted in the class documentation,
- the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream.
- A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with
- CompressionMode.Decompress works only through Read().
-
-
-
- This example shows how to use a DeflateStream to compress data.
-
- using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress))
- {
- using (var raw = System.IO.File.Create(outputFile))
- {
- using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true))
- {
- byte[] buffer = new byte[WORKING_BUFFER_SIZE];
- int n;
- while ((n= input.Read(buffer, 0, buffer.Length)) != 0)
- {
- compressor.Write(buffer, 0, n);
- }
- }
- }
- }
-
-
- Dim outputFile As String = (fileToCompress & ".compressed")
- Using input As Stream = File.OpenRead(fileToCompress)
- Using raw As FileStream = File.Create(outputFile)
- Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True)
- Dim buffer As Byte() = New Byte(4096) {}
- Dim n As Integer = -1
- Do While (n <> 0)
- If (n > 0) Then
- compressor.Write(buffer, 0, n)
- End If
- n = input.Read(buffer, 0, buffer.Length)
- Loop
- End Using
- End Using
- End Using
-
-
- The stream which will be read or written.
- Indicates whether the GZipStream will compress or decompress.
- true if the application would like the stream to remain open after inflation/deflation.
- A tuning knob to trade speed for effectiveness.
-
-
-
- Dispose the stream.
-
-
- This may or may not result in a Close() call on the captive stream.
- See the ctor's with leaveOpen parameters for more information.
-
-
-
-
- Flush the stream.
-
-
-
-
- Read and decompress data from the source stream.
-
-
- With a GZipStream, decompression is done through reading.
-
-
-
- byte[] working = new byte[WORKING_BUFFER_SIZE];
- using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile))
- {
- using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true))
- {
- using (var output = System.IO.File.Create(_DecompressedFile))
- {
- int n;
- while ((n= decompressor.Read(working, 0, working.Length)) !=0)
- {
- output.Write(working, 0, n);
- }
- }
- }
- }
-
-
- The buffer into which the decompressed data should be placed.
- the offset within that data array to put the first byte read.
- the number of bytes to read.
- the number of bytes actually read
-
-
-
- Calling this method always throws a .
-
- irrelevant; it will always throw!
- irrelevant; it will always throw!
- irrelevant!
-
-
-
- Calling this method always throws a NotImplementedException.
-
- irrelevant; this method will always throw!
-
-
-
- The Comment on the GZIP stream.
-
-
-
- The GZIP format allows for each file to optionally have an associated comment stored with the
- file. The comment is encoded with the ISO-8859-1 code page. To include a comment in
- a GZIP stream you create, set this property before calling Write() for the first time
- on the GZipStream.
-
-
-
- When using GZipStream to decompress, you can retrieve this property after the first
- call to Read(). If no comment has been set in the GZIP bytestream, the Comment
- property will return null (Nothing in VB).
-
-
-
-
-
- The FileName for the GZIP stream.
-
-
-
- The GZIP format optionally allows each file to have an associated filename. When
- compressing data (through Write()), set this FileName before calling Write() the first
- time on the GZipStream. The actual filename is encoded into the GZIP bytestream with
- the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to
- insure that the FileName can be encoded and decoded correctly with this code page.
-
-
- When decompressing (through Read()), you can retrieve this value any time after the
- first Read(). In the case where there was no filename encoded into the GZIP
- bytestream, the property will return null (Nothing in VB).
-
-
-
-
-
- The CRC on the GZIP stream.
-
-
- This is used for internal error checking. You probably don't need to look at this property.
-
-
-
-
- This property sets the flush behavior on the stream.
-
-
-
-
- The size of the working buffer for the compression codec.
-
-
-
-
- The working buffer is used for all stream operations. The default size is 1024 bytes.
- The minimum size is 128 bytes. You may get better performance with a larger buffer.
- Then again, you might not. You would have to test it.
-
-
-
- Set this before the first call to Read() or Write() on the stream. If you try to set it
- afterwards, it will throw.
-
-
-
-
- Returns the total number of bytes input so far.
-
-
- Returns the total number of bytes output so far.
-
-
-
- Indicates whether the stream can be read.
-
-
- The return value depends on whether the captive stream supports reading.
-
-
-
-
- Indicates whether the stream supports Seek operations.
-
-
- Always returns false.
-
-
-
-
- Indicates whether the stream can be written.
-
-
- The return value depends on whether the captive stream supports writing.
-
-
-
-
- Reading this property always throws a NotImplementedException.
-
-
-
-
- The position of the stream pointer.
-
-
- Writing this property always throws a NotImplementedException. Reading will
- return the total bytes written out, if used in writing, or the total bytes
- read in, if used in reading. The count may refer to compressed bytes or
- uncompressed bytes, depending on how you've used the stream.
-
-
-
-
- A general purpose exception class for exceptions in the Zlib library.
-
-
-
-
- The ZlibException class captures exception information generated
- by the Zlib library.
-
-
-
-
- This ctor collects a message attached to the exception.
-
-
-
-
-
- Performs an unsigned bitwise right shift with the specified number
-
- Number to operate on
- Ammount of bits to shift
- The resulting number from the shift operation
-
-
-
- Performs an unsigned bitwise right shift with the specified number
-
- Number to operate on
- Ammount of bits to shift
- The resulting number from the shift operation
-
-
- Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.
- The source TextReader to read from
- Contains the array of characteres read from the source TextReader.
- The starting index of the target array.
- The maximum number of characters to read from the source TextReader.
- The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.
-
-
-
- Computes an Adler-32 checksum.
-
-
- The Adler checksum is similar to a CRC checksum, but faster to compute, though less
- reliable. It is used in producing RFC1950 compressed streams. The Adler checksum
- is a required part of the "ZLIB" standard. Applications will almost never need to
- use this class directly.
-
-
-
-
- Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951).
-
-
-
- This class compresses and decompresses data according to the Deflate algorithm
- and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE.
-
-
-
-
- The buffer from which data is taken.
-
-
-
-
- An index into the InputBuffer array, indicating where to start reading.
-
-
-
-
- The number of bytes available in the InputBuffer, starting at NextIn.
-
-
- Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call.
- The class will update this number as calls to Inflate/Deflate are made.
-
-
-
-
- Total number of bytes read so far, through all calls to Inflate()/Deflate().
-
-
-
-
- Buffer to store output data.
-
-
-
-
- An index into the OutputBuffer array, indicating where to start writing.
-
-
-
-
- The number of bytes available in the OutputBuffer, starting at NextOut.
-
-
- Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call.
- The class will update this number as calls to Inflate/Deflate are made.
-
-
-
-
- Total number of bytes written to the output so far, through all calls to Inflate()/Deflate().
-
-
-
-
- used for diagnostics, when something goes wrong!
-
-
-
-
- The number of Window Bits to use.
-
-
- This gauges the size of the sliding window, and hence the
- compression effectiveness as well as memory consumption. It's best to just leave this
- setting alone if you don't know what it is. The maximum value is 15 bits, which implies
- a 32k window.
-
-
-
-
- Create a ZlibCodec that decompresses.
-
-
-
-
- Initialize the inflation state.
-
-
- It is not necessary to call this before using the ZlibCodec to inflate data;
- It is implicitly called when you call the constructor.
-
- Z_OK if everything goes well.
-
-
-
- Initialize the inflation state with an explicit flag to
- govern the handling of RFC1950 header bytes.
-
-
-
- By default, the ZLIB header defined in RFC 1950 is expected. If
- you want to read a zlib stream you should specify true for
- expectRfc1950Header. If you have a deflate stream, you will want to specify
- false. It is only necessary to invoke this initializer explicitly if you
- want to specify false.
-
-
- whether to expect an RFC1950 header byte
- pair when reading the stream of data to be inflated.
-
- Z_OK if everything goes well.
-
-
-
- Initialize the ZlibCodec for inflation, with the specified number of window bits.
-
- The number of window bits to use. If you need to ask what that is,
- then you shouldn't be calling this initializer.
- Z_OK if all goes well.
-
-
-
- Initialize the inflation state with an explicit flag to govern the handling of
- RFC1950 header bytes.
-
-
-
- If you want to read a zlib stream you should specify true for
- expectRfc1950Header. In this case, the library will expect to find a ZLIB
- header, as defined in RFC
- 1950, in the compressed stream. If you will be reading a DEFLATE or
- GZIP stream, which does not have such a header, you will want to specify
- false.
-
-
- whether to expect an RFC1950 header byte pair when reading
- the stream of data to be inflated.
- The number of window bits to use. If you need to ask what that is,
- then you shouldn't be calling this initializer.
- Z_OK if everything goes well.
-
-
-
- Inflate the data in the InputBuffer, placing the result in the OutputBuffer.
-
-
- You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and
- AvailableBytesOut before calling this method.
-
-
-
- private void InflateBuffer()
- {
- int bufferSize = 1024;
- byte[] buffer = new byte[bufferSize];
- ZlibCodec decompressor = new ZlibCodec();
-
- Console.WriteLine("\n============================================");
- Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length);
- MemoryStream ms = new MemoryStream(DecompressedBytes);
-
- int rc = decompressor.InitializeInflate();
-
- decompressor.InputBuffer = CompressedBytes;
- decompressor.NextIn = 0;
- decompressor.AvailableBytesIn = CompressedBytes.Length;
-
- decompressor.OutputBuffer = buffer;
-
- // pass 1: inflate
- do
- {
- decompressor.NextOut = 0;
- decompressor.AvailableBytesOut = buffer.Length;
- rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH);
-
- if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END)
- throw new Exception("inflating: " + decompressor.Message);
-
- ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut);
- }
- while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0);
-
- // pass 2: finish and flush
- do
- {
- decompressor.NextOut = 0;
- decompressor.AvailableBytesOut = buffer.Length;
- rc = decompressor.Inflate(ZlibConstants.Z_FINISH);
-
- if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK)
- throw new Exception("inflating: " + decompressor.Message);
-
- if (buffer.Length - decompressor.AvailableBytesOut > 0)
- ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut);
- }
- while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0);
-
- decompressor.EndInflate();
- }
-
-
-
- The flush to use when inflating.
- Z_OK if everything goes well.
-
-
-
- Ends an inflation session.
-
-
- Call this after successively calling Inflate(). This will cause all buffers to be flushed.
- After calling this you cannot call Inflate() without a intervening call to one of the
- InitializeInflate() overloads.
-
- Z_OK if everything goes well.
-
-
-
- I don't know what this does!
-
- Z_OK if everything goes well.
-
-
-
- Set the dictionary to be used for either Inflation or Deflation.
-
- The dictionary bytes to use.
- Z_OK if all goes well.
-
-
-
- The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this.
-
-
-
-
- A bunch of constants used in the Zlib interface.
-
-
-
-
- The maximum number of window bits for the Deflate algorithm.
-
-
-
-
- The default number of window bits for the Deflate algorithm.
-
-
-
-
- indicates everything is A-OK
-
-
-
-
- Indicates that the last operation reached the end of the stream.
-
-
-
-
- The operation ended in need of a dictionary.
-
-
-
-
- There was an error with the stream - not enough data, not open and readable, etc.
-
-
-
-
- There was an error with the data - not enough data, bad data, etc.
-
-
-
-
- There was an error with the working buffer.
-
-
-
-
- The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes.
-
-
-
-
- The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes.
-
-
-
-
- Represents a Zlib stream for compression or decompression.
-
-
-
-
- The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any
- stream.
-
-
- Using this stream, applications can compress or decompress data via
- stream Read and Write operations. Either compresssion or
- decompression can occur through either reading or writing. The compression
- format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed
- Data Format Specification version 3.3". This implementation of ZLIB always uses
- DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE
- Compressed Data Format Specification version 1.3.")
-
-
- The ZLIB format allows for varying compression methods, window sizes, and dictionaries.
- This implementation always uses the DEFLATE compression method, a preset dictionary,
- and 15 window bits by default.
-
-
-
- This class is similar to , except that it adds the
- RFC1950 header and trailer bytes to a compressed stream when compressing, or expects
- the RFC1950 header and trailer bytes when decompressing. It is also similar to the
- .
-
-
-
-
-
-
-
- Dispose the stream.
-
-
- This may or may not result in a Close() call on the captive stream.
- See the constructors that have a leaveOpen parameter for more information.
-
-
-
-
- Flush the stream.
-
-
-
-
- Read data from the stream.
-
-
-
-
-
- If you wish to use the ZlibStream to compress data while reading, you can create a
- ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then
- call Read() on that ZlibStream, and the data read will be compressed. If you wish to
- use the ZlibStream to decompress data while reading, you can create a ZlibStream with
- CompressionMode.Decompress, providing a readable compressed data stream. Then call
- Read() on that ZlibStream, and the data will be decompressed as it is read.
-
-
-
- A ZlibStream can be used for Read() or Write(), but not both.
-
-
- The buffer into which the read data should be placed.
- the offset within that data array to put the first byte read.
- the number of bytes to read.
-
-
-
- Calling this method always throws a NotImplementedException.
-
-
-
-
- Calling this method always throws a NotImplementedException.
-
-
-
-
- Write data to the stream.
-
-
-
-
-
- If you wish to use the ZlibStream to compress data while writing, you can create a
- ZlibStream with CompressionMode.Compress, and a writable output stream. Then call
- Write() on that ZlibStream, providing uncompressed data as input. The data sent to
- the output stream will be the compressed form of the data written. If you wish to use
- the ZlibStream to decompress data while writing, you can create a ZlibStream with
- CompressionMode.Decompress, and a writable output stream. Then call Write() on that
- stream, providing previously compressed data. The data sent to the output stream will
- be the decompressed form of the data written.
-
-
-
- A ZlibStream can be used for Read() or Write(), but not both.
-
-
- The buffer holding data to write to the stream.
- the offset within that data array to find the first byte to write.
- the number of bytes to write.
-
-
-
- Uncompress a byte array into a single string.
-
-
-
- A buffer containing ZLIB-compressed data.
-
-
-
-
- Uncompress a byte array into a byte array.
-
-
-
-
- A buffer containing ZLIB-compressed data.
-
-
-
-
- This property sets the flush behavior on the stream.
- Sorry, though, not sure exactly how to describe all the various settings.
-
-
-
-
- The size of the working buffer for the compression codec.
-
-
-
-
- The working buffer is used for all stream operations. The default size is 1024 bytes.
- The minimum size is 128 bytes. You may get better performance with a larger buffer.
- Then again, you might not. You would have to test it.
-
-
-
- Set this before the first call to Read() or Write() on the stream. If you try to set it
- afterwards, it will throw.
-
-
-
-
- Returns the total number of bytes input so far.
-
-
- Returns the total number of bytes output so far.
-
-
-
- Indicates whether the stream can be read.
-
-
- The return value depends on whether the captive stream supports reading.
-
-
-
-
- Indicates whether the stream supports Seek operations.
-
-
- Always returns false.
-
-
-
-
- Indicates whether the stream can be written.
-
-
- The return value depends on whether the captive stream supports writing.
-
-
-
-
- Reading this property always throws a NotImplementedException.
-
-
-
-
- The position of the stream pointer.
-
-
- Writing this property always throws a NotImplementedException. Reading will
- return the total bytes written out, if used in writing, or the total bytes
- read in, if used in reading. The count may refer to compressed bytes or
- uncompressed bytes, depending on how you've used the stream.
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
diff --git a/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll b/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll
deleted file mode 100644
index 66e79802b..000000000
Binary files a/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll and /dev/null differ
diff --git a/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml b/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml
deleted file mode 100644
index 83f9ce605..000000000
--- a/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml
+++ /dev/null
@@ -1,3866 +0,0 @@
-
-
-
- RestSharp
-
-
-
-
-
-
-
- Base class for OAuth 2 Authenticators.
-
-
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
-
-
-
-
- Access token to be used when authenticating.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Gets the access token.
-
-
-
-
- The OAuth 2 authenticator using URI query parameter.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- The OAuth 2 authenticator using the authorization request header field.
-
-
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
-
-
-
-
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The access token.
-
-
- The token type.
-
-
-
-
- All text parameters are UTF-8 encoded (per section 5.1).
-
-
-
-
-
- Generates a random 16-byte lowercase alphanumeric string.
-
-
-
-
-
-
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
-
-
-
-
-
-
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
-
-
- A specified point in time.
-
-
-
-
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
- The value to escape.
- The escaped value.
-
- The method is supposed to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it doesn't), we can't rely on every
- host actually having this configuration element present.
-
-
-
-
-
-
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
-
-
-
-
-
-
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
-
-
-
-
-
-
-
- Sorts a by name, and then value if equal.
-
- A collection of parameters to sort
- A sorted parameter collection
-
-
-
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
-
-
- The original request URL
-
-
-
-
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
-
-
-
- The request's HTTP method type
- The request URL
- The request's parameters
- A signature base string
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer key
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- Creates a signature value given a signature base and the consumer secret and a known token secret.
-
-
- The hashing method
- The treatment to use on a signature value
- The signature base
- The consumer secret
- The token secret
-
-
-
-
- A class to encapsulate OAuth authentication flow.
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of requesting an
- unauthorized request token.
-
- The HTTP method for the intended request
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
- Generates a instance to pass to an
- for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
-
- The HTTP method for the intended request
-
- Any existing, non-OAuth query parameters desired in the request
-
-
-
-
-
-
-
-
-
-
-
-
- Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial
- used by Zip. This type is used internally by DotNetZip; it is generally not used
- directly by applications wishing to create, read, or manipulate zip archive
- files.
-
-
-
-
- Returns the CRC32 for the specified stream.
-
- The stream over which to calculate the CRC32
- the CRC32 calculation
-
-
-
- Returns the CRC32 for the specified stream, and writes the input into the
- output stream.
-
- The stream over which to calculate the CRC32
- The stream into which to deflate the input
- the CRC32 calculation
-
-
-
- Get the CRC32 for the given (word,byte) combo. This is a computation
- defined by PKzip.
-
- The word to start with.
- The byte to combine it with.
- The CRC-ized result.
-
-
-
- Update the value for the running CRC32 using the given block of bytes.
- This is useful when using the CRC32() class in a Stream.
-
- block of bytes to slurp
- starting point in the block
- how many bytes within the block to slurp
-
-
-
- indicates the total number of bytes read on the CRC stream.
- This is used when writing the ZipDirEntry when compressing files.
-
-
-
-
- Indicates the current CRC for all blocks slurped in.
-
-
-
-
- A Stream that calculates a CRC32 (a checksum) on all bytes read,
- or on all bytes written.
-
-
-
-
- This class can be used to verify the CRC of a ZipEntry when
- reading from a stream, or to calculate a CRC when writing to a
- stream. The stream should be used to either read, or write, but
- not both. If you intermix reads and writes, the results are not
- defined.
-
-
-
- This class is intended primarily for use internally by the
- DotNetZip library.
-
-
-
-
-
- The default constructor.
-
-
- Instances returned from this constructor will leave the underlying stream
- open upon Close().
-
- The underlying stream
-
-
-
- The constructor allows the caller to specify how to handle the underlying
- stream at close.
-
- The underlying stream
- true to leave the underlying stream
- open upon close of the CrcCalculatorStream.; false otherwise.
-
-
-
- A constructor allowing the specification of the length of the stream to read.
-
-
- Instances returned from this constructor will leave the underlying stream open
- upon Close().
-
- The underlying stream
- The length of the stream to slurp
-
-
-
- A constructor allowing the specification of the length of the stream to
- read, as well as whether to keep the underlying stream open upon Close().
-
- The underlying stream
- The length of the stream to slurp
- true to leave the underlying stream
- open upon close of the CrcCalculatorStream.; false otherwise.
-
-
-
- Read from the stream
-
- the buffer to read
- the offset at which to start
- the number of bytes to read
- the number of bytes actually read
-
-
-
- Write to the stream.
-
- the buffer from which to write
- the offset at which to start writing
- the number of bytes to write
-
-
-
- Flush the stream.
-
-
-
-
- Not implemented.
-
- N/A
- N/A
- N/A
-
-
-
- Not implemented.
-
- N/A
-
-
-
- Closes the stream.
-
-
-
-
- Gets the total number of bytes run through the CRC32 calculator.
-
-
-
- This is either the total number of bytes read, or the total number of bytes
- written, depending on the direction of this stream.
-
-
-
-
- Provides the current CRC for all blocks slurped in.
-
-
-
-
- Indicates whether the underlying stream will be left open when the
- CrcCalculatorStream is Closed.
-
-
-
-
- Indicates whether the stream supports reading.
-
-
-
-
- Indicates whether the stream supports seeking.
-
-
-
-
- Indicates whether the stream supports writing.
-
-
-
-
- Not implemented.
-
-
-
-
- Not implemented.
-
-
-
-
- Describes how to flush the current deflate operation.
-
-
- The different FlushType values are useful when using a Deflate in a streaming application.
-
-
-
- No flush at all.
-
-
- Closes the current block, but doesn't flush it to
- the output. Used internally only in hypothetical
- scenarios. This was supposed to be removed by Zlib, but it is
- still in use in some edge cases.
-
-
-
-
- Use this during compression to specify that all pending output should be
- flushed to the output buffer and the output should be aligned on a byte
- boundary. You might use this in a streaming communication scenario, so that
- the decompressor can get all input data available so far. When using this
- with a ZlibCodec, AvailableBytesIn will be zero after the call if
- enough output space has been provided before the call. Flushing will
- degrade compression and so it should be used only when necessary.
-
-
-
-
- Use this during compression to specify that all output should be flushed, as
- with FlushType.Sync, but also, the compression state should be reset
- so that decompression can restart from this point if previous compressed
- data has been damaged or if random access is desired. Using
- FlushType.Full too often can significantly degrade the compression.
-
-
-
- Signals the end of the compression/decompression stream.
-
-
-
- A class for compressing and decompressing GZIP streams.
-
-
-
-
- The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream.
-
-
- Like the Compression.GZipStream in the .NET Base
- Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress
- while reading, but not vice versa. The compression method used is GZIP, which is
- documented in IETF RFC 1952,
- "GZIP file format specification version 4.3".
-
- A GZipStream can be used to decompress data (through Read()) or to compress
- data (through Write()), but not both.
-
- If you wish to use the GZipStream to compress data, you must wrap it around a
- write-able stream. As you call Write() on the GZipStream, the data will be
- compressed into the GZIP format. If you want to decompress data, you must wrap the
- GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream.
- The data will be decompressed as you call Read() on the GZipStream.
-
- Though the GZIP format allows data from multiple files to be concatenated
- together, this stream handles only a single segment of GZIP format, typically
- representing a single file.
-
-
- This class is similar to and .
- ZlibStream handles RFC1950-compliant streams.
- handles RFC1951-compliant streams. This class handles RFC1952-compliant streams.
-
-
-
-
-
-
-
-
-
- Create a GZipStream using the specified CompressionMode and the specified CompressionLevel,
- and explicitly specify whether the stream should be left open after Deflation or Inflation.
-
-
-
- This constructor allows the application to request that the captive stream remain open after
- the deflation or inflation occurs. By default, after Close() is called on the stream, the
- captive stream is also closed. In some cases this is not desired, for example if the stream
- is a memory stream that will be re-read after compressed data has been written to it. Specify true for the
- leaveOpen parameter to leave the stream open.
-
-
- As noted in the class documentation,
- the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream.
- A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with
- CompressionMode.Decompress works only through Read().
-
-
-
- This example shows how to use a DeflateStream to compress data.
-
- using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress))
- {
- using (var raw = System.IO.File.Create(outputFile))
- {
- using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true))
- {
- byte[] buffer = new byte[WORKING_BUFFER_SIZE];
- int n;
- while ((n= input.Read(buffer, 0, buffer.Length)) != 0)
- {
- compressor.Write(buffer, 0, n);
- }
- }
- }
- }
-
-
- Dim outputFile As String = (fileToCompress & ".compressed")
- Using input As Stream = File.OpenRead(fileToCompress)
- Using raw As FileStream = File.Create(outputFile)
- Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True)
- Dim buffer As Byte() = New Byte(4096) {}
- Dim n As Integer = -1
- Do While (n <> 0)
- If (n > 0) Then
- compressor.Write(buffer, 0, n)
- End If
- n = input.Read(buffer, 0, buffer.Length)
- Loop
- End Using
- End Using
- End Using
-
-
- The stream which will be read or written.
- Indicates whether the GZipStream will compress or decompress.
- true if the application would like the stream to remain open after inflation/deflation.
- A tuning knob to trade speed for effectiveness.
-
-
-
- Dispose the stream.
-
-
- This may or may not result in a Close() call on the captive stream.
- See the ctor's with leaveOpen parameters for more information.
-
-
-
-
- Flush the stream.
-
-
-
-
- Read and decompress data from the source stream.
-
-
- With a GZipStream, decompression is done through reading.
-
-
-
- byte[] working = new byte[WORKING_BUFFER_SIZE];
- using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile))
- {
- using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true))
- {
- using (var output = System.IO.File.Create(_DecompressedFile))
- {
- int n;
- while ((n= decompressor.Read(working, 0, working.Length)) !=0)
- {
- output.Write(working, 0, n);
- }
- }
- }
- }
-
-
- The buffer into which the decompressed data should be placed.
- the offset within that data array to put the first byte read.
- the number of bytes to read.
- the number of bytes actually read
-
-
-
- Calling this method always throws a .
-
- irrelevant; it will always throw!
- irrelevant; it will always throw!
- irrelevant!
-
-
-
- Calling this method always throws a NotImplementedException.
-
- irrelevant; this method will always throw!
-
-
-
- The Comment on the GZIP stream.
-
-
-
- The GZIP format allows for each file to optionally have an associated comment stored with the
- file. The comment is encoded with the ISO-8859-1 code page. To include a comment in
- a GZIP stream you create, set this property before calling Write() for the first time
- on the GZipStream.
-
-
-
- When using GZipStream to decompress, you can retrieve this property after the first
- call to Read(). If no comment has been set in the GZIP bytestream, the Comment
- property will return null (Nothing in VB).
-
-
-
-
-
- The FileName for the GZIP stream.
-
-
-
- The GZIP format optionally allows each file to have an associated filename. When
- compressing data (through Write()), set this FileName before calling Write() the first
- time on the GZipStream. The actual filename is encoded into the GZIP bytestream with
- the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to
- insure that the FileName can be encoded and decoded correctly with this code page.
-
-
- When decompressing (through Read()), you can retrieve this value any time after the
- first Read(). In the case where there was no filename encoded into the GZIP
- bytestream, the property will return null (Nothing in VB).
-
-
-
-
-
- The CRC on the GZIP stream.
-
-
- This is used for internal error checking. You probably don't need to look at this property.
-
-
-
-
- This property sets the flush behavior on the stream.
-
-
-
-
- The size of the working buffer for the compression codec.
-
-
-
-
- The working buffer is used for all stream operations. The default size is 1024 bytes.
- The minimum size is 128 bytes. You may get better performance with a larger buffer.
- Then again, you might not. You would have to test it.
-
-
-
- Set this before the first call to Read() or Write() on the stream. If you try to set it
- afterwards, it will throw.
-
-
-
-
- Returns the total number of bytes input so far.
-
-
- Returns the total number of bytes output so far.
-
-
-
- Indicates whether the stream can be read.
-
-
- The return value depends on whether the captive stream supports reading.
-
-
-
-
- Indicates whether the stream supports Seek operations.
-
-
- Always returns false.
-
-
-
-
- Indicates whether the stream can be written.
-
-
- The return value depends on whether the captive stream supports writing.
-
-
-
-
- Reading this property always throws a NotImplementedException.
-
-
-
-
- The position of the stream pointer.
-
-
- Writing this property always throws a NotImplementedException. Reading will
- return the total bytes written out, if used in writing, or the total bytes
- read in, if used in reading. The count may refer to compressed bytes or
- uncompressed bytes, depending on how you've used the stream.
-
-
-
-
- A general purpose exception class for exceptions in the Zlib library.
-
-
-
-
- The ZlibException class captures exception information generated
- by the Zlib library.
-
-
-
-
- This ctor collects a message attached to the exception.
-
-
-
-
-
- Performs an unsigned bitwise right shift with the specified number
-
- Number to operate on
- Ammount of bits to shift
- The resulting number from the shift operation
-
-
-
- Performs an unsigned bitwise right shift with the specified number
-
- Number to operate on
- Ammount of bits to shift
- The resulting number from the shift operation
-
-
- Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.
- The source TextReader to read from
- Contains the array of characteres read from the source TextReader.
- The starting index of the target array.
- The maximum number of characters to read from the source TextReader.
- The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.
-
-
-
- Computes an Adler-32 checksum.
-
-
- The Adler checksum is similar to a CRC checksum, but faster to compute, though less
- reliable. It is used in producing RFC1950 compressed streams. The Adler checksum
- is a required part of the "ZLIB" standard. Applications will almost never need to
- use this class directly.
-
-
-
-
- Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951).
-
-
-
- This class compresses and decompresses data according to the Deflate algorithm
- and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE.
-
-
-
-
- The buffer from which data is taken.
-
-
-
-
- An index into the InputBuffer array, indicating where to start reading.
-
-
-
-
- The number of bytes available in the InputBuffer, starting at NextIn.
-
-
- Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call.
- The class will update this number as calls to Inflate/Deflate are made.
-
-
-
-
- Total number of bytes read so far, through all calls to Inflate()/Deflate().
-
-
-
-
- Buffer to store output data.
-
-
-
-
- An index into the OutputBuffer array, indicating where to start writing.
-
-
-
-
- The number of bytes available in the OutputBuffer, starting at NextOut.
-
-
- Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call.
- The class will update this number as calls to Inflate/Deflate are made.
-
-
-
-
- Total number of bytes written to the output so far, through all calls to Inflate()/Deflate().
-
-
-
-
- used for diagnostics, when something goes wrong!
-
-
-
-
- The number of Window Bits to use.
-
-
- This gauges the size of the sliding window, and hence the
- compression effectiveness as well as memory consumption. It's best to just leave this
- setting alone if you don't know what it is. The maximum value is 15 bits, which implies
- a 32k window.
-
-
-
-
- Create a ZlibCodec that decompresses.
-
-
-
-
- Initialize the inflation state.
-
-
- It is not necessary to call this before using the ZlibCodec to inflate data;
- It is implicitly called when you call the constructor.
-
- Z_OK if everything goes well.
-
-
-
- Initialize the inflation state with an explicit flag to
- govern the handling of RFC1950 header bytes.
-
-
-
- By default, the ZLIB header defined in RFC 1950 is expected. If
- you want to read a zlib stream you should specify true for
- expectRfc1950Header. If you have a deflate stream, you will want to specify
- false. It is only necessary to invoke this initializer explicitly if you
- want to specify false.
-
-
- whether to expect an RFC1950 header byte
- pair when reading the stream of data to be inflated.
-
- Z_OK if everything goes well.
-
-
-
- Initialize the ZlibCodec for inflation, with the specified number of window bits.
-
- The number of window bits to use. If you need to ask what that is,
- then you shouldn't be calling this initializer.
- Z_OK if all goes well.
-
-
-
- Initialize the inflation state with an explicit flag to govern the handling of
- RFC1950 header bytes.
-
-
-
- If you want to read a zlib stream you should specify true for
- expectRfc1950Header. In this case, the library will expect to find a ZLIB
- header, as defined in RFC
- 1950, in the compressed stream. If you will be reading a DEFLATE or
- GZIP stream, which does not have such a header, you will want to specify
- false.
-
-
- whether to expect an RFC1950 header byte pair when reading
- the stream of data to be inflated.
- The number of window bits to use. If you need to ask what that is,
- then you shouldn't be calling this initializer.
- Z_OK if everything goes well.
-
-
-
- Inflate the data in the InputBuffer, placing the result in the OutputBuffer.
-
-
- You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and
- AvailableBytesOut before calling this method.
-
-
-
- private void InflateBuffer()
- {
- int bufferSize = 1024;
- byte[] buffer = new byte[bufferSize];
- ZlibCodec decompressor = new ZlibCodec();
-
- Console.WriteLine("\n============================================");
- Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length);
- MemoryStream ms = new MemoryStream(DecompressedBytes);
-
- int rc = decompressor.InitializeInflate();
-
- decompressor.InputBuffer = CompressedBytes;
- decompressor.NextIn = 0;
- decompressor.AvailableBytesIn = CompressedBytes.Length;
-
- decompressor.OutputBuffer = buffer;
-
- // pass 1: inflate
- do
- {
- decompressor.NextOut = 0;
- decompressor.AvailableBytesOut = buffer.Length;
- rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH);
-
- if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END)
- throw new Exception("inflating: " + decompressor.Message);
-
- ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut);
- }
- while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0);
-
- // pass 2: finish and flush
- do
- {
- decompressor.NextOut = 0;
- decompressor.AvailableBytesOut = buffer.Length;
- rc = decompressor.Inflate(ZlibConstants.Z_FINISH);
-
- if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK)
- throw new Exception("inflating: " + decompressor.Message);
-
- if (buffer.Length - decompressor.AvailableBytesOut > 0)
- ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut);
- }
- while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0);
-
- decompressor.EndInflate();
- }
-
-
-
- The flush to use when inflating.
- Z_OK if everything goes well.
-
-
-
- Ends an inflation session.
-
-
- Call this after successively calling Inflate(). This will cause all buffers to be flushed.
- After calling this you cannot call Inflate() without a intervening call to one of the
- InitializeInflate() overloads.
-
- Z_OK if everything goes well.
-
-
-
- I don't know what this does!
-
- Z_OK if everything goes well.
-
-
-
- Set the dictionary to be used for either Inflation or Deflation.
-
- The dictionary bytes to use.
- Z_OK if all goes well.
-
-
-
- The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this.
-
-
-
-
- A bunch of constants used in the Zlib interface.
-
-
-
-
- The maximum number of window bits for the Deflate algorithm.
-
-
-
-
- The default number of window bits for the Deflate algorithm.
-
-
-
-
- indicates everything is A-OK
-
-
-
-
- Indicates that the last operation reached the end of the stream.
-
-
-
-
- The operation ended in need of a dictionary.
-
-
-
-
- There was an error with the stream - not enough data, not open and readable, etc.
-
-
-
-
- There was an error with the data - not enough data, bad data, etc.
-
-
-
-
- There was an error with the working buffer.
-
-
-
-
- The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes.
-
-
-
-
- The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes.
-
-
-
-
- Represents a Zlib stream for compression or decompression.
-
-
-
-
- The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any
- stream.
-
-
- Using this stream, applications can compress or decompress data via
- stream Read and Write operations. Either compresssion or
- decompression can occur through either reading or writing. The compression
- format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed
- Data Format Specification version 3.3". This implementation of ZLIB always uses
- DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE
- Compressed Data Format Specification version 1.3.")
-
-
- The ZLIB format allows for varying compression methods, window sizes, and dictionaries.
- This implementation always uses the DEFLATE compression method, a preset dictionary,
- and 15 window bits by default.
-
-
-
- This class is similar to , except that it adds the
- RFC1950 header and trailer bytes to a compressed stream when compressing, or expects
- the RFC1950 header and trailer bytes when decompressing. It is also similar to the
- .
-
-
-
-
-
-
-
- Dispose the stream.
-
-
- This may or may not result in a Close() call on the captive stream.
- See the constructors that have a leaveOpen parameter for more information.
-
-
-
-
- Flush the stream.
-
-
-
-
- Read data from the stream.
-
-
-
-
-
- If you wish to use the ZlibStream to compress data while reading, you can create a
- ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then
- call Read() on that ZlibStream, and the data read will be compressed. If you wish to
- use the ZlibStream to decompress data while reading, you can create a ZlibStream with
- CompressionMode.Decompress, providing a readable compressed data stream. Then call
- Read() on that ZlibStream, and the data will be decompressed as it is read.
-
-
-
- A ZlibStream can be used for Read() or Write(), but not both.
-
-
- The buffer into which the read data should be placed.
- the offset within that data array to put the first byte read.
- the number of bytes to read.
-
-
-
- Calling this method always throws a NotImplementedException.
-
-
-
-
- Calling this method always throws a NotImplementedException.
-
-
-
-
- Write data to the stream.
-
-
-
-
-
- If you wish to use the ZlibStream to compress data while writing, you can create a
- ZlibStream with CompressionMode.Compress, and a writable output stream. Then call
- Write() on that ZlibStream, providing uncompressed data as input. The data sent to
- the output stream will be the compressed form of the data written. If you wish to use
- the ZlibStream to decompress data while writing, you can create a ZlibStream with
- CompressionMode.Decompress, and a writable output stream. Then call Write() on that
- stream, providing previously compressed data. The data sent to the output stream will
- be the decompressed form of the data written.
-
-
-
- A ZlibStream can be used for Read() or Write(), but not both.
-
-
- The buffer holding data to write to the stream.
- the offset within that data array to find the first byte to write.
- the number of bytes to write.
-
-
-
- Uncompress a byte array into a single string.
-
-
-
- A buffer containing ZLIB-compressed data.
-
-
-
-
- Uncompress a byte array into a byte array.
-
-
-
-
- A buffer containing ZLIB-compressed data.
-
-
-
-
- This property sets the flush behavior on the stream.
- Sorry, though, not sure exactly how to describe all the various settings.
-
-
-
-
- The size of the working buffer for the compression codec.
-
-
-
-
- The working buffer is used for all stream operations. The default size is 1024 bytes.
- The minimum size is 128 bytes. You may get better performance with a larger buffer.
- Then again, you might not. You would have to test it.
-
-
-
- Set this before the first call to Read() or Write() on the stream. If you try to set it
- afterwards, it will throw.
-
-
-
-
- Returns the total number of bytes input so far.
-
-
- Returns the total number of bytes output so far.
-
-
-
- Indicates whether the stream can be read.
-
-
- The return value depends on whether the captive stream supports reading.
-
-
-
-
- Indicates whether the stream supports Seek operations.
-
-
- Always returns false.
-
-
-
-
- Indicates whether the stream can be written.
-
-
- The return value depends on whether the captive stream supports writing.
-
-
-
-
- Reading this property always throws a NotImplementedException.
-
-
-
-
- The position of the stream pointer.
-
-
- Writing this property always throws a NotImplementedException. Reading will
- return the total bytes written out, if used in writing, or the total bytes
- read in, if used in reading. The count may refer to compressed bytes or
- uncompressed bytes, depending on how you've used the stream.
-
-
-
-
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
-
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Types of parameters that can be added to requests
-
-
-
-
- Data formats
-
-
-
-
- HTTP method to use when making requests
-
-
-
-
- Format strings for commonly-used date formats
-
-
-
-
- .NET format string for ISO 8601 date format
-
-
-
-
- .NET format string for roundtrip date format
-
-
-
-
- Status for responses (surprised?)
-
-
-
-
- Extension method overload!
-
-
-
-
- Read a stream into a byte array
-
- Stream to read
- byte[]
-
-
-
- Copies bytes from one stream to another
-
- The input stream.
- The output stream.
-
-
-
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
-
- An array of bytes to convert
- The byte as a string.
-
-
-
- Reflection extensions
-
-
-
-
- Retrieve an attribute from a member (property)
-
- Type of attribute to retrieve
- Member to retrieve attribute from
-
-
-
-
- Retrieve an attribute from a type
-
- Type of attribute to retrieve
- Type to retrieve attribute from
-
-
-
-
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
-
-
-
-
-
-
-
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
-
- Type of enum
- Value for which to search
- The culture used to calculate the name variants
-
-
-
-
- Convert a to a instance.
-
- The response status.
-
- responseStatus
-
-
-
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
-
-
-
-
- Check that a string is not null or empty
-
- String to check
- bool
-
-
-
- Remove underscores from a string
-
- String to process
- string
-
-
-
- Parses most common JSON date formats
-
- JSON value to parse
-
- DateTime
-
-
-
- Remove leading and trailing " from a string
-
- String to parse
- String
-
-
-
- Checks a string to see if it matches a regex
-
- String to check
- Pattern to match
- bool
-
-
-
- Converts a string to pascal case
-
- String to convert
-
- string
-
-
-
- Converts a string to pascal case with the option to remove underscores
-
- String to convert
- Option to remove underscores
-
-
-
-
-
- Converts a string to camel case
-
- String to convert
-
- String
-
-
-
- Convert the first letter of a string to lower case
-
- String to convert
- string
-
-
-
- Checks to see if a string is all uppper case
-
- String to check
- bool
-
-
-
- Add underscores to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add dashes to a pascal-cased string
-
- String to convert
- string
-
-
-
- Add an undescore prefix to a pascasl-cased string
-
-
-
-
-
-
- Add spaces to a pascal-cased string
-
- String to convert
- string
-
-
-
- Return possible variants of a name for name matching.
-
- String to convert
- The culture to use for conversion
- IEnumerable<string>
-
-
-
- XML Extension Methods
-
-
-
-
- Returns the name of an element with the namespace if specified
-
- Element name
- XML Namespace
-
-
-
-
- Container for files to be uploaded with requests
-
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The content type to use in the request.
- The
-
-
-
- Creates a file parameter from an array of bytes.
-
- The parameter name to use in the request.
- The data to use as the file's contents.
- The filename to use in the request.
- The using the default content type.
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- HttpWebRequest wrapper (async methods)
-
-
- HttpWebRequest wrapper
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- Execute an async POST-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Execute an async GET-style request with the specified HTTP Method.
-
-
- The HTTP method to execute.
-
-
-
-
- Creates an IHttp
-
-
-
-
-
- Default constructor
-
-
-
-
- True if this HTTP request has any HTTP parameters
-
-
-
-
- True if this HTTP request has any HTTP cookies
-
-
-
-
- True if a request body has been specified
-
-
-
-
- True if files have been set to be uploaded
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- UserAgent to be sent with request
-
-
-
-
- Timeout in milliseconds to be used for the request
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- System.Net.ICredentials to be sent with request
-
-
-
-
- The System.Net.CookieContainer to be used for the request
-
-
-
-
- The method to use to write the response instead of reading into RawBytes
-
-
-
-
- Collection of files to be sent with request
-
-
-
-
- Whether or not HTTP 3xx response redirects should be automatically followed
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
-
-
-
-
- HTTP headers to be sent with request
-
-
-
-
- HTTP parameters (QueryString or Form values) to be sent with request
-
-
-
-
- HTTP cookies to be sent with request
-
-
-
-
- Request body to be sent with request
-
-
-
-
- Content type of the request body.
-
-
-
-
- An alternative to RequestBody, for when the caller already has the byte array.
-
-
-
-
- URL to call for this request
-
-
-
-
- Flag to send authorisation header with the HttpWebRequest
-
-
-
-
- Representation of an HTTP cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
- Container for HTTP file
-
-
-
-
- The length of data to be sent
-
-
-
-
- Provides raw data for file
-
-
-
-
- Name of the file to use when uploading
-
-
-
-
- MIME content type of file
-
-
-
-
- Name of the parameter
-
-
-
-
- Representation of an HTTP header
-
-
-
-
- Name of the header
-
-
-
-
- Value of the header
-
-
-
-
- Representation of an HTTP parameter (QueryString or Form value)
-
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Content-Type of the parameter
-
-
-
-
- HTTP response data
-
-
-
-
- HTTP response data
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Default constructor
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- Lazy-loaded string representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exception thrown when error is encountered.
-
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container for data sent back from API
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- Exceptions thrown during the request, if any.
-
- Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Parameter container for REST requests
-
-
-
-
- Return a human-readable representation of this parameter
-
- String
-
-
-
- Name of the parameter
-
-
-
-
- Value of the parameter
-
-
-
-
- Type of the parameter
-
-
-
-
- MIME content type of the parameter
-
-
-
-
- Client to translate RestRequests into Http requests and process response result
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle.
- The HTTP method to execute
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes a GET-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a POST-style request and callback asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion
- The HTTP method to execute
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a GET-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes a POST-style request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Target deserialization type
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a GET-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
-
-
-
- Executes a POST-style asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Executes the request asynchronously, authenticating if needed
-
- Request to be executed
- The cancellation token
-
-
-
- Default constructor that registers default content handlers
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Sets the BaseUrl property for requests made by this client instance
-
-
-
-
-
- Registers a content handler to process response content
-
- MIME content type of the response content
- Deserializer to use to process content
-
-
-
- Remove a content handler for the specified MIME content type
-
- MIME content type to remove
-
-
-
- Remove all content handlers
-
-
-
-
- Retrieve the handler for the specified MIME content type
-
- MIME content type to retrieve
- IDeserializer instance
-
-
-
- Assembles URL to call based on parameters, method and resource
-
- RestRequest to execute
- Assembled System.Uri
-
-
-
- Maximum number of redirects to follow if FollowRedirects is true
-
-
-
-
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
-
-
-
-
- The CookieContainer used for requests made by this client instance
-
-
-
-
- UserAgent to use for requests made by this client instance
-
-
-
-
- Timeout in milliseconds to use for requests made by this client instance
-
-
-
-
- The number of milliseconds before the writing or reading times out.
-
-
-
-
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
-
-
-
-
- Authenticator to use for requests made by this client instance
-
-
-
-
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
-
-
- client.BaseUrl = new Uri("http://example.com");
-
-
-
-
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
-
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Request to be executed
- Callback function to be executed upon completion
-
-
-
- Executes the request and callback asynchronously, authenticating if needed
-
- The IRestClient this method extends
- Target deserialization type
- Request to be executed
- Callback function to be executed upon completion providing access to the async handle
-
-
-
- Add a parameter to use on every request made with this client instance
-
- The IRestClient instance
- Parameter to add
-
-
-
-
- Removes a parameter from the default parameters that are used on every request made with this client instance
-
- The IRestClient instance
- The name of the parameter that needs to be removed
-
-
-
-
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- The IRestClient instance
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
-
- The IRestClient instance
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
-
- The IRestClient instance
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Container for data used to make requests
-
-
-
-
- Default constructor
-
-
-
-
- Sets Method property to value of method
-
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Sets Resource property
-
- Resource to use for this request
-
-
-
- Sets Resource and Method properties
-
- Resource to use for this request
- Method to use for this request
-
-
-
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
-
- The parameter name to use in the request
- Full path to file to upload
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name
-
- The parameter name to use in the request
- The file data
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Adds the bytes to the Files collection with the specified file name and content type
-
- The parameter name to use in the request
- A function that writes directly to the stream. Should NOT close the stream.
- The file name to use for the uploaded file
- The MIME type of the file to upload
- This request
-
-
-
- Add bytes to the Files collection as if it was a file of specific type
-
- A form parameter name
- The file data
- The file name to use for the uploaded file
- Specific content type. Es: application/x-gzip
-
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to JSON format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to XML format and adds it to the request body.
-
- The object to serialize
- This request
-
-
-
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
-
- The object to serialize
- The XML namespace to use when serializing
- This request
-
-
-
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
-
-
- request.AddObject(product, "ProductId", "Price", ...);
-
- The object with properties to add as parameters
- The names of the properties to include
- This request
-
-
-
- Calls AddParameter() for all public, readable properties of obj
-
- The object with properties to add as parameters
- This request
-
-
-
- Add the parameter to the request
-
- Parameter to add
-
-
-
-
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
-
- Name of the parameter
- Value of the parameter
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- The type of parameter to add
- This request
-
-
-
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
-
- Name of the parameter
- Value of the parameter
- Content-Type of the parameter
- The type of parameter to add
- This request
-
-
-
- Shortcut to AddParameter(name, value, HttpHeader) overload
-
- Name of the header to add
- Value of the header to add
-
-
-
-
- Shortcut to AddParameter(name, value, Cookie) overload
-
- Name of the cookie to add
- Value of the cookie to add
-
-
-
-
- Shortcut to AddParameter(name, value, UrlSegment) overload
-
- Name of the segment to add
- Value of the segment to add
-
-
-
-
- Shortcut to AddParameter(name, value, QueryString) overload
-
- Name of the parameter to add
- Value of the parameter to add
-
-
-
-
- Internal Method so that RestClient can increase the number of attempts
-
-
-
-
- Always send a multipart/form-data request - even when no Files are present.
-
-
-
-
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
-
-
-
-
- Set this to write response to Stream rather than reading into memory.
-
-
-
-
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
-
-
-
-
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
-
-
-
-
- Container of all the files to be uploaded with the request.
-
-
-
-
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
-
-
-
-
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
-
-
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
-
-
-
-
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
-
-
-
-
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
-
-
-
-
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
-
-
-
-
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
-
-
-
-
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
-
-
-
-
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
-
-
-
-
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
-
-
-
-
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
-
-
-
-
- How many attempts were made to send this Request?
-
-
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
-
-
-
-
- Base class for common properties shared by RestResponse and RestResponse[[T]]
-
-
-
-
- Default constructor
-
-
-
-
- Assists with debugging responses by displaying in the debugger output
-
-
-
-
-
- The RestRequest that was made to get this RestResponse
-
-
- Mainly for debugging if ResponseStatus is not OK
-
-
-
-
- MIME content type of response
-
-
-
-
- Length in bytes of the response content
-
-
-
-
- Encoding of the response content
-
-
-
-
- String representation of response content
-
-
-
-
- HTTP response status code
-
-
-
-
- Description of HTTP status returned
-
-
-
-
- Response content
-
-
-
-
- The URL that actually responded to the content (different from request if redirected)
-
-
-
-
- HttpWebResponse.Server
-
-
-
-
- Cookies returned by server with the response
-
-
-
-
- Headers returned by server with the response
-
-
-
-
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
-
-
-
-
- Transport or other non-HTTP error generated while attempting request
-
-
-
-
- The exception thrown during the request, if any
-
-
-
-
- Container for data sent back from API including deserialized data
-
- Type of data to deserialize to
-
-
-
- Deserialized entity data
-
-
-
-
- Container for data sent back from API
-
-
-
-
- Wrapper for System.Xml.Serialization.XmlSerializer.
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Encoding for serialized content
-
-
-
-
- Need to subclass StringWriter in order to override Encoding
-
-
-
-
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
-
-
-
-
- Default serializer
-
-
-
-
- Serialize the object as JSON
-
- Object to serialize
- JSON as String
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Unused for JSON Serialization
-
-
-
-
- Content type for serialized content
-
-
-
-
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
-
-
-
-
- Called by the attribute when NameStyle is speficied
-
- The string to transform
- String
-
-
-
- The name to use for the serialized element
-
-
-
-
- Sets the value to be serialized as an Attribute instead of an Element
-
-
-
-
- The culture to use when serializing
-
-
-
-
- Transforms the casing of the name based on the selected value.
-
-
-
-
- The order to serialize the element. Default is int.MaxValue.
-
-
-
-
- Options for transforming casing of element names
-
-
-
-
- Default XML Serializer
-
-
-
-
- Default constructor, does not specify namespace
-
-
-
-
- Specify the namespaced to be used when serializing
-
- XML namespace
-
-
-
- Serialize the object as XML
-
- Object to serialize
- XML as string
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Name of the root element to use when serializing
-
-
-
-
- XML namespace to use when serializing
-
-
-
-
- Format string to use when serializing dates
-
-
-
-
- Content type for serialized content
-
-
-
-
- Represents the json array.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The capacity of the json array.
-
-
-
- The json representation of the array.
-
- The json representation of the array.
-
-
-
- Represents the json object.
-
-
-
-
- The internal member dictionary.
-
-
-
-
- Initializes a new instance of .
-
-
-
-
- Initializes a new instance of .
-
- The implementation to use when comparing keys, or null to use the default for the type of the key.
-
-
-
- Adds the specified key.
-
- The key.
- The value.
-
-
-
- Determines whether the specified key contains key.
-
- The key.
-
- true if the specified key contains key; otherwise, false.
-
-
-
-
- Removes the specified key.
-
- The key.
-
-
-
-
- Tries the get value.
-
- The key.
- The value.
-
-
-
-
- Adds the specified item.
-
- The item.
-
-
-
- Clears this instance.
-
-
-
-
- Determines whether [contains] [the specified item].
-
- The item.
-
- true if [contains] [the specified item]; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the specified item.
-
- The item.
-
-
-
-
- Gets the enumerator.
-
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Returns a json that represents the current .
-
-
- A json that represents the current .
-
-
-
-
- Gets the at the specified index.
-
-
-
-
-
- Gets the keys.
-
- The keys.
-
-
-
- Gets the values.
-
- The values.
-
-
-
- Gets or sets the with the specified key.
-
-
-
-
-
- Gets the count.
-
- The count.
-
-
-
- Gets a value indicating whether this instance is read only.
-
-
- true if this instance is read only; otherwise, false.
-
-
-
-
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
-
-
-
-
- Parses the string json into a value
-
- A JSON string.
- An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false
-
-
-
- Try parsing the json string into a value.
-
-
- A JSON string.
-
-
- The object.
-
-
- Returns true if successfull otherwise false.
-
-
-
-
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
-
- A IDictionary<string,object> / IList<object>
- Serializer strategy to use
- A JSON encoded string, or null if object 'json' is not serializable
-
-
-
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
-
-
-
-
- Helper methods for validating required values
-
-
-
-
- Require a parameter to not be null
-
- Name of the parameter
- Value of the parameter
-
-
-
- Helper methods for validating values
-
-
-
-
- Validate an integer value is between the specified values (exclusive of min/max)
-
- Value to validate
- Exclusive minimum value
- Exclusive maximum value
-
-
-
- Validate a string length
-
- String to be validated
- Maximum length of the string
-
-
-
- Comment of the cookie
-
-
-
-
- Comment of the cookie
-
-
-
-
- Indicates whether the cookie should be discarded at the end of the session
-
-
-
-
- Domain of the cookie
-
-
-
-
- Indicates whether the cookie is expired
-
-
-
-
- Date and time that the cookie expires
-
-
-
-
- Indicates that this cookie should only be accessed by the server
-
-
-
-
- Name of the cookie
-
-
-
-
- Path of the cookie
-
-
-
-
- Port of the cookie
-
-
-
-
- Indicates that the cookie should only be sent over secure channels
-
-
-
-
- Date and time the cookie was created
-
-
-
-
- Value of the cookie
-
-
-
-
- Version of the cookie
-
-
-
-
diff --git a/packages/RestSharp.105.2.3/readme.txt b/packages/RestSharp.105.2.3/readme.txt
deleted file mode 100644
index 89a5bded1..000000000
--- a/packages/RestSharp.105.2.3/readme.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 ***
-
-In 103.0, JSON.NET was removed as a dependency.
-
-If this is still installed in your project and no other libraries depend on
-it you may remove it from your installed packages.
-
-There is one breaking change: the default Json*Serializer* is no longer
-compatible with Json.NET. To use Json.NET for serialization, copy the code
-from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs
-and register it with your client:
-
-var client = new RestClient();
-client.JsonSerializer = new YourCustomSerializer();
-
-The default Json*Deserializer* is mostly compatible, but it does not support
-all features which Json.NET has (like the ability to support a custom [JsonConverter]
-by decorating a certain property with an attribute). If you need these features, you
-must take care of the deserialization yourself to get it working.
-
diff --git a/packages/repositories.config b/packages/repositories.config
deleted file mode 100644
index 2bfcd809d..000000000
--- a/packages/repositories.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file