{"id":20381734,"url":"https://github.com/jacob-c-smith/http","last_synced_at":"2025-06-28T23:38:42.976Z","repository":{"id":193349728,"uuid":"688628469","full_name":"Jacob-C-Smith/http","owner":"Jacob-C-Smith","description":"Parse and serialize HTTP requests and responses","archived":false,"fork":false,"pushed_at":"2024-06-12T19:54:36.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T22:36:24.256Z","etag":null,"topics":["c","http"],"latest_commit_sha":null,"homepage":"https://g10.app/status/#parser_serializer","language":"C","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/Jacob-C-Smith.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}},"created_at":"2023-09-07T18:50:34.000Z","updated_at":"2024-06-12T19:54:39.000Z","dependencies_parsed_at":"2023-11-25T02:28:37.591Z","dependency_job_id":"be19358d-df0f-445e-9a85-ac9aef45d0ae","html_url":"https://github.com/Jacob-C-Smith/http","commit_stats":null,"previous_names":["jacob-c-smith/http"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jacob-C-Smith/http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacob-C-Smith%2Fhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacob-C-Smith%2Fhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacob-C-Smith%2Fhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacob-C-Smith%2Fhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jacob-C-Smith","download_url":"https://codeload.github.com/Jacob-C-Smith/http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacob-C-Smith%2Fhttp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262513634,"owners_count":23322663,"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":["c","http"],"created_at":"2024-11-15T02:15:11.450Z","updated_at":"2025-06-28T23:38:42.953Z","avatar_url":"https://github.com/Jacob-C-Smith.png","language":"C","readme":"# http\n[![CMake](https://github.com/Jacob-C-Smith/http/actions/workflows/cmake.yml/badge.svg)](https://github.com/Jacob-C-Smith/http/actions/workflows/cmake.yml)\n\n Parse and serialize HTTP requests and responses\n\n \u003e 1 [Download](#download)\n \u003e\n \u003e 2 [Build](#build)\n \u003e\n \u003e 3 [Example](#example)\n \u003e\n \u003e 4 [Tester](#tester)\n \u003e\n \u003e 5 [Definitions](#definitions)\n \u003e\n \u003e\u003e 5.1 [Type definitions](#type-definitions)\n \u003e\u003e\n \u003e\u003e 5.2 [Function definitions](#function-definitions)\n\n ## Download\n To download http, execute the following command\n ```bash\n $ git clone https://github.com/Jacob-C-Smith/http --recurse-submodules\n ```\n ## Build\n To build on UNIX like machines, execute the following commands in the same directory\n ```bash\n $ cd http\n $ cmake .\n $ make\n ```\n  This will build the example program, and dynamic / shared libraries\n\n  To build http for Windows machines, open the base directory in Visual Studio, and build your desired target(s)\n ## Example\n TODO\n \n ## Tester\n TODO\n\n ## Definitions\n \n ### Type definitions\n ```c\n typedef enum http_request_type_e    http_request_type;\n typedef enum http_response_status_e http_response_status;\n ```\n ### Function definitions\n\n ```c\n // Serializers\n int http_serialize_request (\n     char              *request_text, \n     http_request_type  request_type,\n     const char        *path,\n     const char        *format,\n     ...\n );\n \n // TODO: Implement\n // int http_serialize_response (  );\n\n // TODO: Parsers\n // int http_parse_request ( );\n // int http_parse_response ( );\n ```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacob-c-smith%2Fhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacob-c-smith%2Fhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacob-c-smith%2Fhttp/lists"}