PortableRest 2.5.1

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.1 or higher.

dotnet add package PortableRest --version 2.5.1
NuGet\Install-Package PortableRest -Version 2.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PortableRest" Version="2.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PortableRest --version 2.5.1
#r "nuget: PortableRest, 2.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PortableRest as a Cake Addin
#addin nuget:?package=PortableRest&version=2.5.1

// Install PortableRest as a Cake Tool
#tool nuget:?package=PortableRest&version=2.5.1

A library for consuming REST APIs from Portable Class Libraries (.NET 4.5, Silverlight 5, Windows Phone 8, and Windows 8.x). Designed to be partially drop-in compatible with RestSharp.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0-Beta1 375 8/27/2014
3.0.1 4,779 8/16/2014
3.0.0 1,024 8/15/2014
3.0.0-RC12 150 8/7/2014
2.5.4 368 4/17/2014
2.5.3 48 4/15/2014
2.5.2 48 4/15/2014
2.5.1 47 4/13/2014
2.4.2 69 4/5/2014
2.4.1 243 1/8/2014
2.4.0 61 1/5/2014
2.3.0 51 12/21/2013
2.1.2 136 11/27/2013
2.1.1 91 11/23/2013
2.1.0 53 11/19/2013
2.0.0 101 10/27/2013

2.5
 • New generic and non-generic SendAsync() methods that return a RestResponse with more detailed information.
 • Fixed an issue where the Async call can deadlock in certain situations.
 • Windows Phone 8.1 support.

2.4.1
 • RestClient.CookieContainer property to share cookies between requests.
 • (Breaking) Reorganized namespaces.
 • Added more documentation.

2.4
 • Added ability to set encoding on individual parameters.
 • Added request-specific headers for OAuth compatibility.
 • Added RestClient.SetUserAgent()to set the UserAgent for you.

2.3
 • Triumphant return of SL5 support.
 • Better documentation.
 • RestClient.ExecuteAsync can return the raw string.
 • Misc. bug fixes.

2.1
 • Adds RestRequest.AddQueryString().
 • Updated minimum package references for Mono-compatible licenses.

2.0
 • Removed support for Silverlight due to Microsoft's new Reflection framework on .NET 4.5.
 • Added initial support for submitting XML payloads.
 • Strong-name signed the assembly so it can be used in strong-name signed projects.

 1.2: Updated to latest packages, include Microsoft.Bcl.Build directly to help with app.config issues.
 1.1: Compiled to HttpClient 2.2.
 1.0.8: Compile to new dependencies.
 1.0.6: Update based on changes to HttpClient.Compression.
 1.0.5: Added Compression support.
 1.0.4-alpha: Added basic POST support, & updated XML deserialization.
 1.0.3: Added XML deserialization with DataContracts.
 1.0.0: First release.