{"id":15827500,"url":"https://github.com/strophe/strophejs-plugin-ping","last_synced_at":"2025-04-01T17:33:11.264Z","repository":{"id":57372948,"uuid":"80017918","full_name":"strophe/strophejs-plugin-ping","owner":"strophe","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-27T06:41:04.000Z","size":19,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-20T01:52:16.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/strophe.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-25T13:41:08.000Z","updated_at":"2024-02-27T06:41:08.000Z","dependencies_parsed_at":"2024-06-19T01:55:04.763Z","dependency_job_id":"15257b64-3f26-49f3-99c0-2a4d622a0737","html_url":"https://github.com/strophe/strophejs-plugin-ping","commit_stats":{"total_commits":24,"total_committers":10,"mean_commits":2.4,"dds":0.7916666666666666,"last_synced_commit":"e9f66df8641610c79c720e14e80909d1fe1a3852"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strophe%2Fstrophejs-plugin-ping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strophe%2Fstrophejs-plugin-ping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strophe%2Fstrophejs-plugin-ping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strophe%2Fstrophejs-plugin-ping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strophe","download_url":"https://codeload.github.com/strophe/strophejs-plugin-ping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222749367,"owners_count":17031913,"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-10-05T10:06:21.971Z","updated_at":"2024-11-02T17:06:03.649Z","avatar_url":"https://github.com/strophe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strophe.ping.js\n\nStrophe.ping.js is a plugin to provide XMPP Ping\n( [ XEP-0199 ]( http://xmpp.org/extensions/xep-0199.html ) ).\n\n## Usage\n\nAfter you connected sucessfully to the XMPP server you can send a ping to a XMPP\nclient or server:\n\n    connection.ping.ping( \"serviceJID@server.org\", success, error, timeout );\n\nYou can also add a ping handler to receive pings:\n\n    connection.ping.addPingHandler( handler );\n\nWithin your ping handler function you surely want to reply with a pong iq:\n\n    handler = function( ping ){\n      ...\n      connection.ping.pong( ping );\n      ...\n\t  return true;\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrophe%2Fstrophejs-plugin-ping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrophe%2Fstrophejs-plugin-ping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrophe%2Fstrophejs-plugin-ping/lists"}