Giter Site home page Giter Site logo

fivesquaresoftware / cumulus Goto Github PK

View Code? Open in Web Editor NEW
95.0 95.0 6.0 18.11 MB

Cumulus is a simple, powerful and blazing fast Cocoa HTTP+REST client that makes creating Cloud-backed apps stupidly easy.

License: BSD 3-Clause "New" or "Revised" License

Objective-C 96.12% Ruby 3.46% Shell 0.42%

cumulus's People

Contributors

carlosmcevilly avatar johnclayton avatar karnlund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cumulus's Issues

Expose the request queue from RCResource so a caller can set up their own queues.

Currently when a resource runs a request, it's using the main thread's runloop (instead of the NSOPQ based methods that were new in iOS5) to run the request because of bugs in the NSOpQ.

Confirm the bugs are fixed and run the request on the main Q or a supplied external Q. Also, allow the post-processing Q to be set from outside the request as well. It's currently just using a global concurrent Q.

Mac Spec Runner

Currently there is no spec runner for Mac OS, create one.

External benchmarks

Create an app in examples that runs a set of benchmarks against an external service

Replace most of the query based resource request signatures with a persistent query object

Seems like for DELETE, POST & PUT 99% of the time no one is going to use the query interfaces. The main reason it's needed at all is just to support non-conforming services that use a query string to pass things that should be in the headers (keys, versions, etc).

Keep the query for gets and heads, but add a persistent query object as a resource attribute that gets tacked on to all requests to server the other purpose.

Make individual requests cancelable

Currently you can only cancel all requests fired for a resource instance. A caller might want more control, for example if a number of requests for the same resource came in all at once and one wanted to keep one alive and cancel the rest.

This will involve returning a token to the caller of the async request methods that can be used to cancel the request as desired.

iOS 9.0 warning issues

In CMFormCoder.m at line 126 Xcode is showing a warning related to
CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in iOS 9.0.
CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)inputString, NULL, (CFStringRef)charsToEncode, CFStringConvertNSStringEncodingToEncoding(encoding)));

Also In CMFormCoder.m at line 141 Xcode is showing a warning related to
CFURLCreateStringByReplacingPercentEscapesUsingEncoding' is deprecated: first deprecated in iOS
9.0.

NSString *decodedString = (__bridge_transfer NSString *)CFURLCreateStringByReplacingPercentEscapesUsingEncoding(NULL, (CFStringRef)inputString, CFSTR(""), CFStringConvertNSStringEncodingToEncoding(encoding));

need to encode query.

near line 770:

//NSString *requestQueryString = [requestQuery toQueryString];
NSString *requestQueryString = [[requestQuery toQueryString]stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

$_POST is empy

I have a php server. When I do [self.someResource post:serializedQueryString withCompletionBlock:nil]; nothing happens to appear in $_POST array. How dow I fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.