xljiulang / webapiclient.extensions Goto Github PK
View Code? Open in Web Editor NEWWebApiClient项目的第三方扩展:Autofac、DependencyInjection、HttpClientFactory、SteeltoeOSS.Discovery、MessagePack、Protobuf、Json-Rpc
License: MIT License
WebApiClient项目的第三方扩展:Autofac、DependencyInjection、HttpClientFactory、SteeltoeOSS.Discovery、MessagePack、Protobuf、Json-Rpc
License: MIT License
接入的 eureka
[HttpHost("http://qpl-epc")]
public interface ICallJavaApiDemo:IHttpApi
{
[HttpPost("qixiubao/getBrands")]
ITask<TestModel> GetBransAsync(dynamic t);
[HttpGet("qixiubao/vinGroup")]
ITask<TestModel> GetBrands2Async(string vin);
[HttpPost("qixiubao/vinGroup")]
ITask<TestModel> GetBrands3Async(string vin);
[HttpGet("qixiubao/vinGroup")]
ITask<TestModel> GetBrands4Async(TestRequest a);
[HttpPost("qixiubao/vinGroup")]
ITask<TestModel> GetBrands5Async(TestRequest a);
}
get会带上参数,post 参数就丢掉了
在使用httpclient对象的时候。请求一个接口地址的时候。是可以在请求三种带有证书(某些支付接口场景下要求证书)。
但是在使用httpclientfactory的时候如何携带证书呢?
WebApiClient.Extensions.DiscoveryClient 这个项目里面Steeltoe.Discovery.ClientCore 这个类库需要升级一下,这个类库的版本无法注册到eureka
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.