Skip to content

Commit

Permalink
Added .NET4 compilation symbol in DefaultHttpClient
Browse files Browse the repository at this point in the history
  • Loading branch information
abnanda1 committed May 9, 2013
1 parent 60bf43f commit 322bcad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Microsoft.AspNet.SignalR.Client/Http/DefaultHttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ public Task<IResponse> Post(string url, Action<IRequest> prepareRequest, IDictio
/// <param name="req">Request object</param>
private void PrepareClientRequest(HttpWebRequestWrapper req)
{
#if NET4
if (_connection.Certificates != null)
{
req.AddClientCerts(_connection.Certificates);
}
#endif

if (_connection.CookieContainer != null)
{
Expand Down

0 comments on commit 322bcad

Please sign in to comment.