{"id":50098001,"url":"https://github.com/jotrorox/c3ttp.c3l","last_synced_at":"2026-06-17T05:00:59.271Z","repository":{"id":351619610,"uuid":"1197149626","full_name":"Jotrorox/c3ttp.c3l","owner":"Jotrorox","description":"Small HTTP/1.1 client and server library for C3, built on std::net::tcp.","archived":false,"fork":false,"pushed_at":"2026-05-23T03:08:50.000Z","size":783,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T05:25:06.195Z","etag":null,"topics":["c3","c3-lib","c3lang","http","http-client","http-framework","http-server","library"],"latest_commit_sha":null,"homepage":"","language":"C3","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/Jotrorox.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-31T11:16:06.000Z","updated_at":"2026-05-20T23:33:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Jotrorox/c3ttp.c3l","commit_stats":null,"previous_names":["jotrorox/c3ttp.c3l"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Jotrorox/c3ttp.c3l","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jotrorox%2Fc3ttp.c3l","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jotrorox%2Fc3ttp.c3l/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jotrorox%2Fc3ttp.c3l/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jotrorox%2Fc3ttp.c3l/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jotrorox","download_url":"https://codeload.github.com/Jotrorox/c3ttp.c3l/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jotrorox%2Fc3ttp.c3l/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34309655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c3","c3-lib","c3lang","http","http-client","http-framework","http-server","library"],"created_at":"2026-05-23T05:15:47.501Z","updated_at":"2026-06-14T05:01:31.599Z","avatar_url":"https://github.com/Jotrorox.png","language":"C3","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c3ttp\n\nSmall HTTP/1.1 client and server library for C3, built on `std::net::tcp`.\n\n- `c3ttp.c3i`: public API\n- `src/`: implementation\n- `test/`: package tests\n- `examples/`: usage examples\n\n- HTTP/1.1 request and response parsing\n- `Content-Length` and `Transfer-Encoding: chunked`\n- buffered and streaming body APIs\n- basic TCP client and server helpers\n- keep-alive support for HTTP/1.1\n- Linux `epoll` event loop for server workloads\n- Linux prefork serving with `SO_REUSEPORT`\n- `TCP_NODELAY` enabled for client connections and accepted server sockets\n\n```bash\nc3c compile-test .\n(cd examples/hello_server \u0026\u0026 c3c build)\n(cd examples/client_get \u0026\u0026 c3c build)\n(cd examples/router_simple \u0026\u0026 c3c build)\n```\n\nFor long-lived servers, do not initialize `Server` with `tmem`. Use `mem` or another non-temp allocator so per-request allocations can be reclaimed normally across many requests.\n\nSee [`c3ttp.c3i`](https://github.com/Jotrorox/c3ttp.c3l/blob/main/c3ttp.c3i) for the supported public surface.\n\n- `Request` / `Response`\n- `Client.send` / `Client.send_url`\n- `Server.listen` / `Server.serve_once` / `Server.serve`\n- `Server.serve_evented` / `Server.serve_prefork`\n- `read_request` / `read_response`\n- `write_request` / `write_response`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotrorox%2Fc3ttp.c3l","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjotrorox%2Fc3ttp.c3l","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotrorox%2Fc3ttp.c3l/lists"}