Haacked
1305b603b3
Add support for requesting raw bytes.
...
People have their reasons. We're going to use the same `IHttpClient`
to request emoji images.
2014-04-16 13:27:18 -07:00
Amy Palamountain
66c19adff3
💄
2014-02-18 16:01:20 +13:00
Brendan Forster
5f97d10970
removed redundant Send<T> from IHttpClient
2014-02-18 11:15:13 +11:00
Amy Palamountain
98e1556c37
Added cancelation token to request
...
+ overload
2014-02-16 17:04:50 +13:00
Brendan Forster
4105bc9119
added hook for providing a proxy to HttpClientAdapter
2014-01-15 16:40:44 -08:00
Haacked
c96b00650e
Add comments to concrete types
...
We now have a build task that copies comments from interface to
implementation.
2013-12-11 14:22:39 -08:00
Matt Burke
93d8c05c12
Set content type for streamed uploads.
2013-11-01 09:37:09 -04:00
Brendan Forster
70bb3bdbfc
💄 trim some long lines
2013-10-31 12:22:43 +11:00
Brendan Forster
43e82e124f
doing await right by calling .ConfigureAwait(false)
2013-10-31 12:06:46 +11:00
Haacked
ad210cecc7
Implement IssuesClient and interface
...
This required updating our serialization strategy so we handle enums
better.
2013-10-23 14:46:19 -07:00
Haacked
20659c4be2
Only set decompression when supported
2013-10-23 08:55:39 -07:00
Brendan Forster
efbb49fbc4
specify the correct Accept-Encoding headers
2013-10-23 14:43:57 +11:00
Haacked
db2f805bc8
Support requests with HttpContent body
...
If a 3rd party client needs to provide a specific HttpContent, we should
allow that in the adapter. Our clients probably shouldn't do this as it
would break encapsulation.
2013-10-11 14:34:09 -07:00
Haacked
a6a76a5105
Add Timeout and Follow redirects to IRequest
2013-10-10 17:01:16 -07:00
half-ogre
6f3fa81789
move internal stuff to .Internal namespace
2013-10-08 15:14:06 -07:00
Haacked
be7a14539e
Set request content type appropriately
2013-10-06 22:26:23 -07:00
Haacked
fa1473264c
JsonHttpPipeline only deserializes JSON responses
...
The JsonHttpPipeline should only try to deserialize responses that have
a Content-Type of application/json.
2013-10-06 21:32:19 -07:00
Paul Betts
b278e0b2d1
Add the response body to thrown API exceptions, it's Often Handy(tm)
2013-10-04 09:28:01 -07:00
Matt Burke
84b42b7074
Implement PostRawAsync, for asset uploading.
2013-10-03 09:09:26 -07:00
Haacked
372fd25914
Move error handling to Connection
...
The adapter shouldn't be responsible for translating errors
into the proper exception.
2013-09-30 10:45:03 -07:00
Haacked
0a5acdb0cb
Add status code to ApiResponse
...
We weren't setting this before.
2013-09-27 16:37:52 -07:00
Haacked
e07b6d62c2
Add null checks and fix CodeAnalysis errors.
...
I enabled code analysis to the Octokit.Reactive project and
needed to fix things up.
2013-01-29 14:36:24 -08:00
Haacked
997e955f38
Rename to Octokit to be consistent with other API libs
...
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00