-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Sam,
The json-rpc documentation sample has some errors. Here's the correct code:
id myservice = [DKDeferred jsonService:@"http://somehost.local/json/" name:@"myservice"];
DKDeferred *d = [myservice someMethod:array_(arg1, arg2)];
[d addCallbacks:callbackTS(self, cbGotResults:) :callbackTS(self,cbGetResultsFailed:)];
Should probably note that the code will generate a warning about no '-someMethod' method found.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels