{"id":13743681,"url":"https://github.com/gabriel/as3httpclient","last_synced_at":"2025-05-09T01:31:37.097Z","repository":{"id":398447,"uuid":"16598","full_name":"gabriel/as3httpclient","owner":"gabriel","description":"HTTP Client for AS3","archived":false,"fork":false,"pushed_at":"2021-11-03T03:04:15.000Z","size":2271,"stargazers_count":243,"open_issues_count":11,"forks_count":74,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-03T05:02:29.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabriel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-05-13T20:37:54.000Z","updated_at":"2024-02-11T16:58:45.000Z","dependencies_parsed_at":"2022-07-07T15:11:27.699Z","dependency_job_id":null,"html_url":"https://github.com/gabriel/as3httpclient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel%2Fas3httpclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel%2Fas3httpclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel%2Fas3httpclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel%2Fas3httpclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabriel","download_url":"https://codeload.github.com/gabriel/as3httpclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224796557,"owners_count":17371511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:00:54.914Z","updated_at":"2024-11-15T14:31:40.699Z","avatar_url":"https://github.com/gabriel.png","language":"ActionScript","funding_links":[],"categories":["Networking"],"sub_categories":["HTTP"],"readme":"# An HTTP/HTTPS client library for Actionscript 3.\n\nThis is really old and unsupported!\n\n## Building\n\nTo build the swc:\n\n\tcompc -load-config=build-swc.xml\n\nTo build and run tests under airake:\n\n\trake\n\trake test\n\trake adl\n\nFor info on airake, which is used to build and test see: [http://airake.rubyforge.org/](http://airake.rubyforge.org/) and [http://github.com/gabriel/airake/tree/master](http://github.com/gabriel/airake/tree/master)\n\n## Info\n\nIf anybody from Adobe is reading this: Please add outputProgress event to Socket. (This is the same behavior as outputProgress event in FileStream?) Otherwise it is impossible to determine the ouput progress on socket writes.. see [http://rel.me/2008/1/17/socket-output-progress-in-air](http://rel.me/2008/1/17/socket-output-progress-in-air) for more info.\n\nEveryone else: [Vote for the fix!](https://bugs.adobe.com/jira/browse/FP-6)\n\nIn order to use flash.net.Socket in a Flash sandbox environment, you need to have a flash socket policy server. (AIR does not have this restriction.) Look at [http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html](http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html). To debug in the environment, I would use a standalone flash debug player with logging configured and you will see it attempt to connect to flash socket policy server at port 843. Because of this restriction, this library might be more suited for AIR apps.\nHTTPS doesn't always work. There are some minor bugs with the as3crypto library, so for example https at yahoo and yahoo owned domains (like delicious) don't currently work.\n\n## Goals\n\nThe goals for this project are:\n\n- Learn the HTTP protocol by trying to implement a client.\n- Use AS3Crypto TLSSocket support for implementing HTTPS.\n- Use it as a replacement for Flash's URLRequest/URLStream API.\n- Support the Flash and AIR runtimes.\n\nWorking:\n\n- GET, HEAD, PUT, POST, DELETE, PATCH\n- multipart/form-data (PUT, PATCH and POST)\n- HTTPS support using AS3Crypto TLS\n- Post with application/x-www-form-urlencoded\n- Reading chunked (Transfer-Encoding)\n\nNext to implement:\n\n- The other http verbs\n- Connection keep-alive\n- gzip compression\n- ...\n\nFor examples see, [EXAMPLES](http://github.com/gabriel/as3httpclient/blob/master/EXAMPLES.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabriel%2Fas3httpclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabriel%2Fas3httpclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabriel%2Fas3httpclient/lists"}