Commit Graph

22 Commits

Author SHA1 Message Date
Tom Longhurst 958bc5f1f8 [feat]: SDKs for ActionsArtifacts APIs 2023-09-25 14:16:41 -05:00
gitasaurus 3c82ff359c [FEAT] Adds support for enterprise audit logs 2023-05-09 10:28:58 -05:00
aedampir@gmail.com 7f5d446ea8 Redundant commas in object initializers were removed. 2016-03-24 23:12:12 +07:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Brendan Forster d7d7efd2c7 renaming things is hard 2015-05-31 20:34:29 +09:30
Brendan Forster e5e4b4c8b0 extracting all the cross-platform setup of HttpMessageHandler into
a less awful class
2015-05-31 19:23:39 +09:30
Brendan Forster eb7e14bd8c test hacks for great good 2015-05-22 20:45:59 +09:30
Brendan Forster fac6a01183 update the tests based on the more rigorous requirements 2015-05-08 18:11:00 +09:30
Haacked 53a6516de2 Change IResponse.Body to object
This removes the awkward Body and BodyAsObject property combo we used to
have.
2015-01-04 19:06:50 -08:00
Haacked 49f95d40f1 Remove Type parameter for IHttpClient send method
This keeps the IHttpClient interface simpler and ensures the
deserialization responsibility lies outside of that class. It only
needed the Type parameter for a special case that could be handled in a
better way.
2015-01-04 18:22:05 -08:00
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
Matt Burke 5063b971b8 The test says we're asserting content-type, so let's do it. 2013-11-01 09:37:09 -04:00
Haacked dcebd1f78a Add test for stream body 2013-10-15 14:12:57 -07: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
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
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 91b5449ddd Removed fluent assertions 2013-09-23 17:41:04 -07: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