awseward / restivus Goto Github PK
View Code? Open in Web Editor NEWA simple, basic .NET REST library
Home Page: http://awseward.github.io/restivus
License: MIT License
A simple, basic .NET REST library
Home Page: http://awseward.github.io/restivus
License: MIT License
Having a hard time trying to figure out how send a GET request with a payload.
Looks like this might still be up for improvement?
If I provide a path of /api/users?city=london
, it should peel the query params off and include them properly instead of blowing up like it currently does.
I did have a slight enhancement to the post method and possibly others that exposed a delegate to creating HttpContent
.
I had to cast my object for this Func<object, HttpContent>. Any way we can make that a generic. Something like Func<T, HttpContent>
?
I'm not sure I fully understand how to use ISingleMethodRequestSender
.
Would you mind clarifying what this ISingleMethodRequestSender
is for or how to use?
As a consumer, I would like to be able to modify the SendAsync arguments.
Having a way to modify the HttpCompletionOption
is definitely a must have.
https://msdn.microsoft.com/en-us/library/system.net.http.httpcompletionoption(v=vs.118).aspx
I would like to be able to the do the following:
Downloading a file may not be as important because anyone can make use of the deserialize delegate to report progress.
There is a way to report progress by creating a custom HttpContent. Any interests in have that a part of this library or supporting file upload/downloads?
I would like to be able to pass a CancellationToken
to all the exposed methods.
When you have a call to SendAsync
that returns Task<HttpResponseMessage>
, restivus is logging it twice.
Hello,
This is a pretty sweet .NET rest client. Haven't found one this nice.
I would like to be able to add some hooks or be able to process the HttpResponseMessage
myself.
Currently, if a bad request has happened it will throw an exception as demonstrated here. master...mglodack:fails_before_deserializing
I noticed that the SendAsync method is calling EnsureSuccessStatusCode() in the codebase here.
What do you thing about having the SendAsync
method return HttpResponseMessage
instead of type T
?
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.