{ "id": "61305", "key": "TIMOB-673", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11222", "name": "Release 1.2.0", "archived": true, "released": true, "releaseDate": "2010-04-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:52.000+0000", "created": "2011-04-15T02:34:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:52.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
should take single argument in milliseconds.
Sending over to Steve.
Commit 3f54408 (not pushed): Changed -[TiNetworkHTTPClientProxy\nsetTimeout] to use the @property interface (takes NSNumber*) as\nopposed to being a declared function (takes array). Has the\nside-effect of allowing a user to get the timeout from a client,\nand modify it - returns 0 if there is no current request.
(from [3f54408e3960d0a55eb0899507a1d86b549667d6])\nCloses #673 - Changed setTimeout to be a 'timeout'\nproperty. \nhttp://github.com/appcelerator/titanium_mobile/commit/3f54408e3960d...
What is the correct way to use this now?
\nDoes it need setting in between open and send? Or does it get\nset in the HTTPClient constructor?
Set it like you would any other property (which I believe means\nit can also be set in the constructor). But it must be set before\nopening the connection.