{"id":22014138,"url":"https://github.com/laqudee/rust_httpserver","last_synced_at":"2025-03-23T08:27:09.553Z","repository":{"id":146793063,"uuid":"610799640","full_name":"laqudee/rust_httpserver","owner":"laqudee","description":"Rust搭建的http与httpserver","archived":false,"fork":false,"pushed_at":"2023-03-23T08:33:09.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T15:18:53.350Z","etag":null,"topics":["http","http-server","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/laqudee.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":"2023-03-07T14:04:38.000Z","updated_at":"2023-03-23T08:32:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fcf1304-847d-4dc5-9cab-3d9842c7fa80","html_url":"https://github.com/laqudee/rust_httpserver","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/laqudee%2Frust_httpserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Frust_httpserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Frust_httpserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Frust_httpserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laqudee","download_url":"https://codeload.github.com/laqudee/rust_httpserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245075319,"owners_count":20556907,"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":["http","http-server","rust"],"created_at":"2024-11-30T03:26:27.085Z","updated_at":"2025-03-23T08:27:09.532Z","avatar_url":"https://github.com/laqudee.png","language":"Rust","readme":"# Rust Http HttpServer\n\n- Rust Server\n\n- Rust Client\n  - Actix\n\n## Web Server\n  - Server，监听进来的TCP字节流\n  - Router，接受HTTP请求，并决定调用哪个Handler\n  - Handler，处理HTTp请求，构建HTTP响应\n  - HTTP Library\n    - 解释字节流，把它转化为HTTP请求\n    - 把HTTP响应转化为字节流\n\n- 构建步骤：\n  - 解析HTTP请求\n  - 构建HTTP请求\n  - 路由与Handler\n  - 测试Web Server\n\n- 数据结构\n- HttpRequest struct\n- Method enum\n- Version enum\n\n- 三个数据结构要实现三个Trait\n- From\u003c\u0026str\u003e\n- Debug\n- PartialEq\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaqudee%2Frust_httpserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaqudee%2Frust_httpserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaqudee%2Frust_httpserver/lists"}