You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+29-7
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,29 @@
1
1
# RestSharp - Simple .NET REST Client
2
2
3
+
RestSharp is a lightweight HTTP client library. It's a wrapper around `HttpClient`, not a full-fledged client on its own.
4
+
5
+
What RestSharp adds to `HttpClient`:
6
+
- Default parameters of any kind, not just headers
7
+
- Add a parameter of any kind to requests, like query, URL segment, header, cookie, or body
8
+
- Multiple ways to add a request body, including JSON, XML, and form data
9
+
- Built-in serialization and deserilization of JSON and XML
10
+
3
11
## RestSharp vNext
4
12
5
13
Finally, RestSharp has moved to `HttpClient`. We also deprecated the following:
6
-
- All sync calls in favour of async calls
7
14
- SimpleJson in favour of `System.Text.Json.JsonSerialzer`
8
15
-`IRestClient`, `IRestRequest`, and `IRestResponse` in favour of implementing classes
9
16
- Everything `Http` and `IHttp` as those are just wrappers
10
17
11
18
Most of the client and some of the request options are now in `RestClientOptions`.
12
19
13
-
Check [v107 docs](https://restsharp.dev/v107) for more information.
20
+
Check [v107+ docs](https://restsharp.dev/v107) for more information.
14
21
15
22
|:boom: Interfaces rage! |
16
23
|:---------------------------|
17
24
| Before you start to rage in public about interfaces that are useful for unit-testing HTTP calls,<br>please read [this page](https://restsharp.dev/v107/#mocking). |
18
25
26
+
## Builds and Packages
19
27
20
28
### Build
21
29
@@ -31,25 +39,38 @@ Check [v107 docs](https://restsharp.dev/v107) for more information.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
45
+
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
46
+
47
+
## Support
35
48
36
49
RestSharp is an open-source project with a single maintainer. Do not expect your issue to be resolved unless it concerns a large group of RestSharp users.
37
50
The best way to resolve your issue is to fix it yourself. Fork the repository and submit a pull request.
38
51
You can also motivate the maintainer by sponsoring this project.
39
52
40
-
### Get help
53
+
### Contribute
41
54
42
-
[](https://gitter.im/RestSharp/RestSharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
55
+
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the process for reporting issues and submitting pull requests.
56
+
57
+
### Get help
43
58
44
59
Read the docs: [Official Site][1]
60
+
61
+
Ask a question on StackOverflow with the tag `restsharp`.
45
62
46
63
Find RestSharp on Twitter: [@RestSharp][2]
47
64
48
-
## Contributors
65
+
## Community
66
+
67
+
### .NET Foundation
68
+
69
+
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).
49
70
50
71
### Code Contributors
51
72
52
-
This project exists thanks to all the people who contribute.[[Contribute](CONTRIBUTING.md)].
73
+
This project exists thanks to all the people who contribute.
footer: Apache 2.0 Licensed | Copyright (c) .NET Foundation and Contributors
23
23
---
24
24
25
25
RestSharp is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features, it is being used by hundreds of thousands of projects.
26
26
27
27
RestSharp passed over 32 million downloads on NuGet, with average daily download count of 10,000. It's being used by many popular OSS projects, including Roslyn and Swagger.
28
+
29
+
Supported by the [.NET Foundation](https://dotnetfoundation.org).
0 commit comments