在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:EasyHttp/EasyHttp开源软件地址:https://github.com/EasyHttp/EasyHttp开源编程语言:C# 100.0%开源软件介绍:Project StatusThis project is active and maintained by David Alpert. EasyHttpAn easy to use HTTP client that supports:
LicenseLicensed under Modified BSD (i.e. pretty much MIT). For full License and included software licenses please see LICENSE.TXT Please log all issues here: http://youtrack.codebetter.com/issues/EHTTP InstallationYou can either download the source and compile or use nuget at http://nuget.org. To install with nuget: Install-Package EasyHttp DocumentationThe documentation can be found on the wiki. UsageUsing static typesTo post/put a customer to some service:
To get some data in JSON format:
Using dynamic typesTo post/put a customer to some service:
To get some data in JSON format:
Both in Static and Dynamic versions, hierarchies are supported. Perform a get with parametersTo get some data from a service
Should translate to the following url being passed. url?Name=test the value will be urlencoded. To get some data in JSon format.
Serialization / Deserialization ConventionsFor serialization / deserialization, you can use pretty much any type of naming convention, be it Propercase, CamelCase, lowerCamelCase, with_underscores, etc. If for some reason, your convention is not picked up, you can always decorate the property with an attribute:
CreditsCopyright (c) 2010 - 2017 Hadi Hariri and Project Contributors JsonFX: Licensed under MIT. EasyHttp uses the awesome JsonFX library at http://github.com/jsonfx |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论