{"id":13745366,"url":"https://github.com/dozeo/PusherAS","last_synced_at":"2025-05-09T05:32:32.513Z","repository":{"id":2220233,"uuid":"3170035","full_name":"dozeo/PusherAS","owner":"dozeo","description":"Pusher \u003chttp://pusher.com\u003e ActionScript3 Client Library","archived":false,"fork":false,"pushed_at":"2013-10-31T17:40:15.000Z","size":36242,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-04T05:06:14.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dozeo.com","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dozeo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-13T10:32:08.000Z","updated_at":"2014-06-23T14:38:36.000Z","dependencies_parsed_at":"2022-09-09T21:10:41.964Z","dependency_job_id":null,"html_url":"https://github.com/dozeo/PusherAS","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozeo%2FPusherAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozeo%2FPusherAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozeo%2FPusherAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozeo%2FPusherAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dozeo","download_url":"https://codeload.github.com/dozeo/PusherAS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819953,"owners_count":17375371,"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:01:28.414Z","updated_at":"2025-05-09T05:32:32.494Z","avatar_url":"https://github.com/dozeo.png","language":"ActionScript","readme":"Pusher \u003chttp://pusher.com\u003e ActionScript3 Client Library\n=============\n\nAS3 Pusher Protocol implementation using the Native AS3 Event System.\nFeel free to modify and update this lib if you find some bugs. How the protocol works is described in this article: http://pusher.com/docs/pusher_protocol.\n\nUsage\n-------\n\n    public function PusherASExample()\n    {\n        // create pusher options\n        var pusherOptions:PusherOptions = new PusherOptions();\n        pusherOptions.applicationKey = '7eb5f11xxxxxxxxxxx';\n        pusherOptions.origin = 'http://localhost/';\n        \n        // create pusher client and connect to server\n        _pusher = new Pusher(pusherOptions);\n        _pusher.addEventListener(PusherEvent.CONNECTION_ESTABLISHED, pusher_CONNECTION_ESTABLISHED);\n        _pusher.connect();\n    }\n\n    /**\n     * On successful connection subscribe a new channel and hear for events\n     * */\n    protected function pusher_CONNECTION_ESTABLISHED(event:PusherEvent):void\n    {\n        var testChannel:PusherChannel = _pusher.subscribe('test_channel');\n        testChannel.addEventListener('MY_EVENT', testChannel_MY_EVENT);\n    }\n\n    /**\n     * Pusher \"testChannel\" Event Listener\n     * */\n    protected function testChannel_MY_EVENT(event:PusherEvent):void\n    {\n        trace('YEAH... MY EVENT WAS DISPATCHED! ;D Event: ' + event.toJSON());\n    }\n\nDocuments\n-------\n* [Publisher API Overview](http://pusher.com/docs/publisher_api_guide)\n* [The Pusher Protocol](http://pusher.com/docs/pusher_protocol)\n","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdozeo%2FPusherAS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdozeo%2FPusherAS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdozeo%2FPusherAS/lists"}