{"id":14982533,"url":"https://github.com/zaki-x86/http-server-examples","last_synced_at":"2026-03-07T16:32:38.946Z","repository":{"id":221444241,"uuid":"754359355","full_name":"zaki-x86/http-server-examples","owner":"zaki-x86","description":"Examples of how to create an HTTP server based on Qt framework","archived":false,"fork":false,"pushed_at":"2024-02-11T00:12:39.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T14:40:16.732Z","etag":null,"topics":["cpp","http-server","networking","qt5"],"latest_commit_sha":null,"homepage":"","language":"C++","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/zaki-x86.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}},"created_at":"2024-02-07T22:20:41.000Z","updated_at":"2024-02-11T00:06:57.000Z","dependencies_parsed_at":"2024-02-11T01:24:17.666Z","dependency_job_id":null,"html_url":"https://github.com/zaki-x86/http-server-examples","commit_stats":null,"previous_names":["zaki-x86/http-server-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zaki-x86/http-server-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaki-x86%2Fhttp-server-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaki-x86%2Fhttp-server-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaki-x86%2Fhttp-server-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaki-x86%2Fhttp-server-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaki-x86","download_url":"https://codeload.github.com/zaki-x86/http-server-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaki-x86%2Fhttp-server-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30221511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T14:02:48.375Z","status":"ssl_error","status_checked_at":"2026-03-07T14:02:43.192Z","response_time":53,"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":["cpp","http-server","networking","qt5"],"created_at":"2024-09-24T14:05:35.289Z","updated_at":"2026-03-07T16:32:38.911Z","avatar_url":"https://github.com/zaki-x86.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-server-examples\n\nExamples of how to create an HTTP server based on Qt framework\n\nPresented 2 types of servers; single-threaded (blocking) and multi-threaded (non-blocking). Besides, other classes that are necessary to create a server, such as: `Request`, `Response`, and `QTcpServer` wrapper.\n\nFor simplicity - and also because we are only looking for results in these examples; The servers should echo back information about the request that they received - there are no fancy request handlers. Once you get the idea, you will be able to add your own request handler the way that suits your needs.\n\n## Single-threaded server\n\nThe single-threaded server examples handle only one request at a time. Therefore, it doesn't spawn any thread handlers to handle new incoming requests. It blocks requests until the one currently being handled is done.\n\n## Multithreaded server\n\nUnlike the single-threaded server, it handles multiple requests concurrently by using a threadpool, (aka connection pool).\n\n## Shared modules\n\nBoth implementations of the server class share commom objects, which are: `Request`, `Response`, `TcpServerWrapper`, and `ConnectionHandler`.\n\n## Future plans\n\n- Single-threaded async server example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaki-x86%2Fhttp-server-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaki-x86%2Fhttp-server-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaki-x86%2Fhttp-server-examples/lists"}