{"id":17415589,"url":"https://github.com/kevinresol/hxuv","last_synced_at":"2026-02-23T13:33:37.579Z","repository":{"id":73718685,"uuid":"160030864","full_name":"kevinresol/hxuv","owner":"kevinresol","description":" libuv bindings for Haxe","archived":false,"fork":false,"pushed_at":"2020-08-22T08:44:27.000Z","size":25,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-26T15:49:18.472Z","etag":null,"topics":["async","haxe","libuv"],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/kevinresol.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-02T09:12:50.000Z","updated_at":"2023-12-23T07:05:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e38a8f77-08aa-4989-9858-ad2574cf583e","html_url":"https://github.com/kevinresol/hxuv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevinresol/hxuv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinresol%2Fhxuv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinresol%2Fhxuv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinresol%2Fhxuv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinresol%2Fhxuv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinresol","download_url":"https://codeload.github.com/kevinresol/hxuv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinresol%2Fhxuv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["async","haxe","libuv"],"created_at":"2024-10-17T01:43:33.799Z","updated_at":"2026-02-23T13:33:37.564Z","avatar_url":"https://github.com/kevinresol.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hxuv [![Build Status](https://travis-ci.com/kevinresol/hxuv.svg?branch=master)](https://travis-ci.com/kevinresol/hxuv)\n\nlibuv bindings for Haxe\n\n## Philosophy\n\nThis library targets to express unopinionatedly the libuv api in a Haxe fashion (e.g. managed memory allocation, GC-friendly, allow closures, etc). So there should be 1-to-1 mapping for each API. \n\n## Documentation\n\nThe original libuv documentation should generally apply. However, function signatures might be slightly different from the original in order to fit the Haxe language.\n\n## Supported targets\n\n- C++, requires the [`linc_uv`](https://github.com/kevinresol/linc_uv) library\n\n(possible to support other targets in the future)\n\n## Example\n\n```haxe\n// create a echo tcp server\nvar server = Tcp.alloc();\nserver.bind('0.0.0.0', 7000, 0);\nserver.listen(128, function(_) {\n\tvar client = Tcp.alloc();\n\tserver.accept(client);\n\tclient.readStart(function(status, bytes) {\n\t\tif(bytes != null) client.write(bytes, function(_) trace('echoed')); // echo\n\t\telse client.close(function() trace('closed')); // client ended\n\t});\n});\n\n// connect to the server, send a string and print the echo from server\nvar tcp = Tcp.alloc();\ntcp.connect('127.0.0.1', 7000, function(status) {\n\ttcp.write(Bytes.ofString('Hello World!'), function(_) trace('written')); // write to server\n\ttcp.shutdown(function(status) trace('shutdown')); // close the outgoing stream\n\ttcp.readStart(function(status, bytes) {\n\t\tif(bytes != null) trace(bytes.toString());\n\t\telse tcp.close(function() trace('closed')); // close the tcp socket\n\t});\n});\n```\n\n## Contributions Welcome\n\n- Complete the API\n- Support other targets\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinresol%2Fhxuv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinresol%2Fhxuv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinresol%2Fhxuv/lists"}