casademora / corehttp Goto Github PK
View Code? Open in Web Editor NEWSwift based Light HTTP library
Swift based Light HTTP library
Logging should be
Bonus points if an external framework can be used
an Image resource should be able to follow the same request pipeline. The returned result should be a Result<UIImage, HTTPResponseError>
Currently, there is no check that a resource is requested agains the correct host. That is, for example, a Facebook resource could to requested against a Github host. This is completely invalid, hence the HostedResource Protocol to tie resources to hosts. However, current attempts at adding something like R: RequestedResource & HostedResource where R.HostedType == Self
in the HTTPHostProtocol doesn't compile nor when I can get it to compile, the resource does not get checked at compile time.
There is no sample code which would show-case the usage of the library. It could be in the same repo or in some other one (with a link in this repo's README.md)
Currently, only Argo is supported with some default wrapper functions to help the JSON decoding process. There should be support for other Libraries such as those listed here:
https://github.com/bwhiteley/JSONShootout
To be able to track the progress of a long request, NSProgress should be used to track this information and handle within the framework.
The authorization scheme is a little underwhelming at the moment. At the simplest, it should be able to use the following common methods of request authentications:
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.