Code Monkey home page Code Monkey logo

signalr-objc's Issues

ServerSentEvents can take down IIS

When the server has no activity and the client is using server sent events the reconnect process creates new connections and eventually will max out iis's 10 concurrent connection limit on Win7 preventing any further communication without an iisreset

AFNetworking now supports NextiveJson

To make life really simple for developers who might already be using AFNetworking in their larger project it would be nice to handle json as they would expect it handled so ideally SignalR-ObjC would support all automatic detection of JSON libraries like AFNetworking does (since it is our only required dependency).

Take a look at AFNetworking AFJSONUtilities for specific support.

Create SignalR Errors Correctly

Lets do something like this:

NSMutableDictionary *errorDetails = [NSMutableDictionary dictionary];
[errorDetails setObject:[NSString stringWithFormat:@"%@",errorDescription] forKey: NSLocalizedDescriptionKey];
[errorDetails setObject:[NSString stringWithFormat:@"%@",failureReason] forKey: NSLocalizedFailureReasonErrorKey]
[errorDetails setObject:[NSString stringWithFormat:@"%@",someRecoverySuggestionIfAvailable] forKey: NSLocalizedRecoverySuggestionErrorKey];

NSError *_error = [NSError errorWithDomain:@"com.SignalR.[ClassName].[ErrorName]" code:[SomeCode or 0] userInfo:errorDetails];

Update Readme install instructions

The install instructions will not work for mac os x

  • Should not include Reachability or ASI Dialog in mac os x install,
  • Create instructions for using the framework instead of raw files.
  • Be sure to include which frameworks are required for ASIHttpRequest and what flags to set for arc

Protocol error: Missing connection id

Started receiving Protocol error: Missing connection id error after updating to the latest version of signalR.Samples Project and making the switch to connectionId instead of clientId. This seems to be related to

SignalR/SignalR#41 and is probably an error with the server not the client, opening this for now until some resolution is found

Consider removing dependency on SBJSON

With iOS 5 NSJSONSerialization is available publicly in both iOS and Mac OS X so there is no real need for SBJSON unless we wanted to support version prior to iOS 5

Changes from SignalR.Client

Bring client up to date with .Net

Below are the changes made to the .net client that should be added to the objective c client

SignalR.Client Next Release

ConnectionID
SignalR/SignalR@3001fa4

See SignalR Client Sample
SignalR/SignalR@999e05a

SignalR/SignalR@ebedaf1

Additional Transports
SignalR/SignalR@ac3aea3

SignalR/SignalR@cd6b89f#diff-2

Throw if Connection is not initialized
SignalR/SignalR@23efe2b

Store Connection State
SignalR/SignalR@4093a4d

Helper for getting value from dictionary
SignalR/SignalR@f2cc4c9

Only Decrement if queue if > 0
SignalR/SignalR@cea5c80

Remove item from bag
SignalR/SignalR@aeb7955

Add Protocol version
SignalR/SignalR@2038ee2

Fix SL and WP7 Client for missing API
SignalR/SignalR@8eeaecb

Update clientId to connectionId

This was previously supported but a bug in the SignalR Server project causes

Protocol error: Missing connection id which is an issue available on SignalR/SignalR#41

For now SIgnalR-ObjC will be supporting the release build of SignalR 0.3.5

Support iOS 4.3 Target

__weak is not available in iOS < 5.0

The only thing that appears to be preventing SignalR from working on iOS 4.3 is

__weak NSMutableDictionary *hubs_ = _hubs;

We should be able to change this line to

__unsafe_unretained NSMutableDictionary *hubs_ = _hubs;

Vendor Licensing

Make sure that we are giving proper credit for the vendor project now that there are several

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.