{"id":24615824,"url":"https://github.com/mtamme/signalr-client","last_synced_at":"2026-03-14T03:33:42.978Z","repository":{"id":13941736,"uuid":"16641539","full_name":"mtamme/signalr-client","owner":"mtamme","description":"An extensible asynchronous SignalR client for Java.","archived":false,"fork":false,"pushed_at":"2017-10-23T08:51:08.000Z","size":756,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T05:24:45.913Z","etag":null,"topics":["asynchronous","java","signalr-client"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtamme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-08T11:17:49.000Z","updated_at":"2025-02-12T17:46:57.000Z","dependencies_parsed_at":"2022-08-28T18:41:25.458Z","dependency_job_id":null,"html_url":"https://github.com/mtamme/signalr-client","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/mtamme%2Fsignalr-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtamme%2Fsignalr-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtamme%2Fsignalr-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtamme%2Fsignalr-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtamme","download_url":"https://codeload.github.com/mtamme/signalr-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252800032,"owners_count":21806091,"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":["asynchronous","java","signalr-client"],"created_at":"2025-01-24T22:14:37.069Z","updated_at":"2026-03-14T03:33:37.941Z","avatar_url":"https://github.com/mtamme.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# signalr-client\n\nAn extensible asynchronous SignalR client for Java.\n\n**This is currently a prototype and therefore not applicable for production use!**\n\n## Persistent Connections API\n\n```java\nfinal PersistentConnection connection = new PersistentConnection(\n        \"http://localhost/signalr\",\n        new WebSocketTransport(),\n        new JacksonFactory());\n\nconnection.addConnectionListener(new ConnectionAdapter() {\n    @Override\n    public void onReceived(final String message) {\n        System.out.println(message);\n    }\n});\nfinal Promise\u003cVoid\u003e promise = connection.start();\n\nPromises.await(promise);\nfinal Scanner scanner = new Scanner(System.in);\n\nwhile (scanner.hasNextLine()) {\n    final String line = scanner.nextLine();\n\n    connection.send(line);\n}\n```\n\n## Hubs API\n\n```java\nfinal HubConnection connection = new HubConnection(\n        \"http://localhost/signalr\",\n        new WebSocketTransport(),\n        new GsonFactory());\nfinal HubProxy proxy = connection.newHubProxy(\"hub\");\n\nproxy.register(\"update\", Update.class, new HubCallback\u003cUpdate\u003e() {\n    @Override\n    public void onInvoke(final Update update) {\n        System.out.println(update);\n    }\n});\nfinal Promise\u003cVoid\u003e promise = connection.start().then(new Compose\u003cVoid, Void\u003e() {\n    @Override\n    protected Promise\u003cVoid\u003e doCompose(final Void value) throws Exception {\n        return proxy.invoke(\"joinUpdateGroup\", Void.class);\n    }\n});\n\nPromises.await(promise);\n```\n\n## Extensibility\n\n# Copyright\n\nCopyright © Martin Tamme. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtamme%2Fsignalr-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtamme%2Fsignalr-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtamme%2Fsignalr-client/lists"}