{"id":30197,"date":"2025-04-20T17:21:35","date_gmt":"2025-04-20T09:21:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/30197.html"},"modified":"2025-04-20T17:21:35","modified_gmt":"2025-04-20T09:21:35","slug":"%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6-hyperlane%ef%bc%9arust-%e9%ab%98%e6%80%a7%e8%83%bd-http-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ba%93%ef%bc%8c%e5%bc%80%e5%90%af-web-%e6%9c%8d%e5%8a%a1%e6%96%b0%e7%ba%aa","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/30197.html","title":{"rendered":"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01"},"content":{"rendered":"<h2>&#x1f680; Hyperlane&#xff1a;Rust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93&#xff0c;\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143&#xff01;<\/h2>\n<h3>&#x1f31f; \u4ec0\u4e48\u662f Hyperlane&#xff1f;<\/h3>\n<p>Hyperlane \u662f\u4e00\u4e2a\u57fa\u4e8e Rust \u8bed\u8a00\u5f00\u53d1\u7684\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93&#xff0c;\u4e13\u4e3a\u7b80\u5316\u7f51\u7edc\u670d\u52a1\u5f00\u53d1\u800c\u8bbe\u8ba1\u3002\u5b83\u652f\u6301 HTTP \u8bf7\u6c42\u89e3\u6790\u3001\u54cd\u5e94\u6784\u5efa\u3001TCP \u901a\u4fe1\u548c\u91cd\u5b9a\u5411\u529f\u80fd&#xff0c;\u662f\u6784\u5efa\u73b0\u4ee3 Web \u670d\u52a1\u7684\u7406\u60f3\u9009\u62e9\u3002Hyperlane \u4e0d\u4ec5\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd&#xff0c;\u8fd8\u5b9e\u73b0\u4e86\u7075\u6d3b\u9ad8\u6548\u7684\u5b9e\u65f6\u901a\u4fe1&#xff0c;\u652f\u6301\u8bf7\u6c42\u548c\u54cd\u5e94\u4e2d\u95f4\u4ef6\u3001WebSocket \u548c\u670d\u52a1\u5668\u53d1\u9001\u4e8b\u4ef6&#xff08;SSE&#xff09;\u3002<\/p>\n<h3>&#x1f680; \u5feb\u901f\u5f00\u59cb<\/h3>\n<h4>&#x1f4e5; \u5b89\u88c5<\/h4>\n<p>\u8981\u4f7f\u7528 Hyperlane&#xff0c;\u53ea\u9700\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>cargo <span class=\"token function\">add<\/span> hyperlane<\/p>\n<h4>&#x1f4d1; \u5feb\u901f\u5f00\u59cb\u793a\u4f8b<\/h4>\n<p><span class=\"token keyword\">use<\/span> <span class=\"token namespace\">hyperlane<span class=\"token punctuation\">::<\/span><\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">async<\/span> <span class=\"token keyword\">fn<\/span> <span class=\"token function-definition function\">request_middleware<\/span><span class=\"token punctuation\">(<\/span>ctx<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Context<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> socket_addr<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">String<\/span> <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">get_socket_addr_or_default_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_header<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">SERVER<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">HYPERLANE<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_header<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">CONNECTION<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">CONNECTION_KEEP_ALIVE<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_header<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">CONTENT_TYPE<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token function\">content_type_charset<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">TEXT_PLAIN<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">UTF8<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_header<\/span><span class=\"token punctuation\">(<\/span><span class=\"token constant\">DATE<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token function\">current_date_gmt<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_header<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;SocketAddr&#034;<\/span><span class=\"token punctuation\">,<\/span> socket_addr<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">async<\/span> <span class=\"token keyword\">fn<\/span> <span class=\"token function-definition function\">response_middleware<\/span><span class=\"token punctuation\">(<\/span>ctx<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Context<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> _ <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">send<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> request<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">String<\/span> <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">get_request_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> response<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">String<\/span> <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">get_response_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">log_info<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>request<span class=\"token punctuation\">,<\/span> log_handler<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">log_info<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>response<span class=\"token punctuation\">,<\/span> log_handler<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">async<\/span> <span class=\"token keyword\">fn<\/span> <span class=\"token function-definition function\">root_route<\/span><span class=\"token punctuation\">(<\/span>ctx<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Context<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_status_code<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">200<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">set_response_body<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Hello hyperlane &#061;&gt; \/&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">async<\/span> <span class=\"token keyword\">fn<\/span> <span class=\"token function-definition function\">websocket_route<\/span><span class=\"token punctuation\">(<\/span>ctx<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Context<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> request_body<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Vec<\/span><span class=\"token operator\">&lt;<\/span><span class=\"token keyword\">u8<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">get_request_body<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> _ <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">send_response_body<\/span><span class=\"token punctuation\">(<\/span>request_body<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token attribute attr-name\">#[tokio::main]<\/span><br \/>\n<span class=\"token keyword\">async<\/span> <span class=\"token keyword\">fn<\/span> <span class=\"token function-definition function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> server<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Server<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token class-name\">Server<\/span><span class=\"token punctuation\">::<\/span><span class=\"token function\">new<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">host<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;0.0.0.0&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">port<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">60000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">enable_nodelay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">log_dir<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;.\/logs&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">enable_inner_log<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">enable_inner_print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">log_size<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">100_024_000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">http_line_buffer_size<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">4096<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">websocket_buffer_size<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">4096<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">request_middleware<\/span><span class=\"token punctuation\">(<\/span>request_middleware<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">response_middleware<\/span><span class=\"token punctuation\">(<\/span>response_middleware<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">route<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\/&#034;<\/span><span class=\"token punctuation\">,<\/span> root_route<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">route<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\/websocket&#034;<\/span><span class=\"token punctuation\">,<\/span> websocket_route<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">let<\/span> test_string<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">String<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;Hello hyperlane&#034;<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">to_owned<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token function\">route<\/span><span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string\">&#034;\/test\/:text&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token macro property\">async_func!<\/span><span class=\"token punctuation\">(<\/span>test_string<span class=\"token punctuation\">,<\/span> <span class=\"token closure-params\"><span class=\"token closure-punctuation punctuation\">|<\/span>ctx<span class=\"token closure-punctuation punctuation\">|<\/span><\/span> <span class=\"token punctuation\">{<\/span><br \/>\n                <span class=\"token keyword\">let<\/span> param<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">RouteParams<\/span> <span class=\"token operator\">&#061;<\/span> ctx<span class=\"token punctuation\">.<\/span><span class=\"token function\">get_route_params<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n                <span class=\"token macro property\">print_success!<\/span><span class=\"token punctuation\">(<\/span><span class=\"token macro property\">format!<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;{:?}&#034;<\/span><span class=\"token punctuation\">,<\/span> param<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n                <span class=\"token macro property\">println_success!<\/span><span class=\"token punctuation\">(<\/span>test_string<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n                <span class=\"token macro property\">panic!<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Test panic\\\\n\\\\ndata: test&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n            <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    server<span class=\"token punctuation\">.<\/span><span class=\"token function\">listen<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">unwrap<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h3>&#x1f4ca; \u6027\u80fd\u538b\u6d4b\u7ed3\u679c<\/h3>\n<h4>&#x1f4c9; \u5173\u95ed Keep-Alive<\/h4>\n<table>\n<tr>\u6846\u67b6QPS<\/tr>\n<tbody>\n<tr>\n<td>Hyperlane<\/td>\n<td>51031.27<\/td>\n<\/tr>\n<tr>\n<td>Tokio<\/td>\n<td>49555.87<\/td>\n<\/tr>\n<tr>\n<td>Rocket<\/td>\n<td>49345.76<\/td>\n<\/tr>\n<tr>\n<td>Gin<\/td>\n<td>40149.75<\/td>\n<\/tr>\n<tr>\n<td>Go \u6807\u51c6\u5e93<\/td>\n<td>38364.06<\/td>\n<\/tr>\n<tr>\n<td>Rust \u6807\u51c6\u5e93<\/td>\n<td>30142.55<\/td>\n<\/tr>\n<tr>\n<td>Node \u6807\u51c6\u5e93<\/td>\n<td>28286.96<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>&#x1f4c8; \u5f00\u542f Keep-Alive<\/h4>\n<table>\n<tr>\u6846\u67b6QPS<\/tr>\n<tbody>\n<tr>\n<td>Tokio<\/td>\n<td>340130.92<\/td>\n<\/tr>\n<tr>\n<td>Hyperlane<\/td>\n<td>324323.71<\/td>\n<\/tr>\n<tr>\n<td>Rocket<\/td>\n<td>298945.31<\/td>\n<\/tr>\n<tr>\n<td>Rust \u6807\u51c6\u5e93<\/td>\n<td>291218.96<\/td>\n<\/tr>\n<tr>\n<td>Gin<\/td>\n<td>242570.16<\/td>\n<\/tr>\n<tr>\n<td>Go \u6807\u51c6\u5e93<\/td>\n<td>234178.93<\/td>\n<\/tr>\n<tr>\n<td>Node \u6807\u51c6\u5e93<\/td>\n<td>139412.13<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>&#x1f3af; \u4f18\u52bf<\/h3>\n<ul>\n<li>\u9ad8\u6027\u80fd&#xff1a;\u5728\u538b\u6d4b\u4e2d\u8868\u73b0\u51fa\u8272&#xff0c;QPS \u9ad8\u4e8e\u591a\u4e2a\u4e3b\u6d41\u6846\u67b6\u3002<\/li>\n<li>\u8f7b\u91cf\u7ea7&#xff1a;\u4e13\u6ce8\u4e8e\u6838\u5fc3\u529f\u80fd&#xff0c;\u65e0\u591a\u4f59\u4f9d\u8d56&#xff0c;\u542f\u52a8\u8fc5\u901f\u3002<\/li>\n<li>\u6613\u7528\u6027&#xff1a;\u7b80\u6d01\u7684 API \u8bbe\u8ba1&#xff0c;\u5feb\u901f\u4e0a\u624b&#xff0c;\u51cf\u5c11\u5f00\u53d1\u65f6\u95f4\u3002<\/li>\n<li>\u7075\u6d3b\u6027&#xff1a;\u652f\u6301\u4e2d\u95f4\u4ef6\u3001WebSocket \u548c SSE&#xff0c;\u6ee1\u8db3\u591a\u6837\u5316\u9700\u6c42\u3002<\/li>\n<li>\u5b89\u5168\u6027&#xff1a;Rust \u7684\u5185\u5b58\u5b89\u5168\u7279\u6027&#xff0c;\u675c\u7edd\u5e38\u89c1\u5b89\u5168\u6f0f\u6d1e\u3002<\/li>\n<\/ul>\n<h3>&#x1f4c4; \u8bb8\u53ef\u8bc1<\/h3>\n<p>Hyperlane \u57fa\u4e8e MIT \u8bb8\u53ef\u8bc1\u6388\u6743&#xff0c;\u6b22\u8fce\u81ea\u7531\u4f7f\u7528\u548c\u8d21\u732e\u4ee3\u7801\u3002<\/p>\n<h3>&#x1f91d; \u8d21\u732e<\/h3>\n<p>\u6b22\u8fce\u901a\u8fc7\u63d0\u4ea4 issue \u6216\u521b\u5efa pull request \u6765\u8d21\u732e\u60a8\u7684\u529b\u91cf&#xff01;<\/p>\n<h3>&#x1f4e7; \u8054\u7cfb\u6211\u4eec<\/h3>\n<p>\u5982\u6709\u7591\u95ee&#xff0c;\u8bf7\u8054\u7cfb\u4f5c\u8005&#xff1a;ltpp-universe root&#064;ltpp.vip<\/p>\n<p>\u5feb\u6765\u4f53\u9a8c Hyperlane \u7684\u9b45\u529b\u5427&#xff01;&#x1f525;&#x1f680;<\/p>\n<h3>\u63a8\u8350\u51e0\u6b3e\u5b66\u4e60\u7f16\u7a0b\u7684\u514d\u8d39\u5e73\u53f0<\/h3>\n<h4>\u514d\u8d39\u5728\u7ebf\u5f00\u53d1\u5e73\u53f0&#xff08;https:\/\/docs.ltpp.vip\/LTPP\/&#xff09;<\/h4>\n<p> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u63a2\u7d22\u7f16\u7a0b\u4e16\u754c\u7684\u65b0\u5929\u5730&#xff0c;\u4e3a\u5b66\u751f\u548c\u5f00\u53d1\u8005\u7cbe\u5fc3\u6253\u9020\u7684\u7f16\u7a0b\u5e73\u53f0&#xff0c;\u73b0\u5df2\u76db\u5927\u5f00\u542f&#xff01;\u8fd9\u4e2a\u5e73\u53f0\u6c47\u96c6\u4e86\u8fd14000\u9053\u7cbe\u5fc3\u8bbe\u8ba1\u7684\u7f16\u7a0b\u9898\u76ee&#xff0c;\u8986\u76d6\u4e86C\u3001C&#043;&#043;\u3001JavaScript\u3001TypeScript\u3001Go\u3001Rust\u3001PHP\u3001Java\u3001Ruby\u3001Python3\u4ee5\u53caC#\u7b49\u4f17\u591a\u7f16\u7a0b\u8bed\u8a00&#xff0c;\u4e3a\u60a8\u7684\u7f16\u7a0b\u5b66\u4e60\u4e4b\u65c5\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5168\u9762\u800c\u4e30\u5bcc\u7684\u5b9e\u8df5\u73af\u5883\u3002 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5728\u8fd9\u91cc&#xff0c;\u60a8\u4e0d\u4ec5\u53ef\u4ee5\u67e5\u770b\u81ea\u5df1\u7684\u4ee3\u7801\u8bb0\u5f55&#xff0c;\u8fd8\u80fd\u8f7b\u677e\u5730\u5728\u4e91\u7aef\u4fdd\u5b58\u548c\u8fd0\u884c\u4ee3\u7801&#xff0c;\u8ba9\u7f16\u7a0b\u53d8\u5f97\u66f4\u52a0\u4fbf\u6377\u3002\u5e73\u53f0\u8fd8\u63d0\u4f9b\u4e86\u79c1\u804a\u548c\u7fa4\u804a\u529f\u80fd&#xff0c;\u8ba9\u60a8\u53ef\u4ee5\u4e0e\u540c\u884c\u4eec\u65e0\u969c\u788d\u4ea4\u6d41&#xff0c;\u5206\u4eab\u6587\u4ef6&#xff0c;\u5171\u540c\u8fdb\u6b65\u3002\u4e0d\u4ec5\u5982\u6b64&#xff0c;\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7\u9605\u8bfb\u6587\u7ae0\u3001\u53c2\u4e0e\u95ee\u7b54\u677f\u5757\u548c\u5728\u7ebf\u5546\u5e97&#xff0c;\u8fdb\u4e00\u6b65\u62d3\u5c55\u60a8\u7684\u77e5\u8bc6\u8fb9\u754c\u3002  \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4e3a\u4e86\u63d0\u5347\u60a8\u7684\u7f16\u7a0b\u6280\u80fd&#xff0c;\u5e73\u53f0\u8fd8\u8bbe\u6709\u6bcf\u65e5\u4e00\u9898\u3001\u7cbe\u9009\u9898\u5355\u4ee5\u53ca\u6fc0\u52a8\u4eba\u5fc3\u7684\u7f16\u7a0b\u7ade\u8d5b&#xff0c;\u8fd9\u4e9b\u90fd\u662f\u5907\u8003\u7f16\u7a0b\u8003\u8bd5\u7684\u7edd\u4f73\u8d44\u6e90\u3002\u66f4\u4ee4\u4eba\u5174\u594b\u7684\u662f&#xff0c;\u60a8\u8fd8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u7cfb\u7edfUI&#xff0c;\u9009\u62e9\u89c6\u9891\u6216\u56fe\u7247\u4f5c\u4e3a\u80cc\u666f&#xff0c;\u6253\u9020\u4e00\u4e2a\u5b8c\u5168\u4e2a\u6027\u5316\u7684\u7f16\u7801\u73af\u5883&#xff0c;\u8ba9\u60a8\u7684\u7f16\u7a0b\u4e4b\u65c5\u65e2\u6709\u8da3\u53c8\u5145\u6ee1\u6311\u6218\u3002 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092131-6804bc9b05c88.png\" alt=\"\" \/><\/p>\n<h4>\u514d\u8d39\u516c\u76ca\u670d\u52a1\u5668&#xff08;https:\/\/docs.ltpp.vip\/LTPP-SHARE\/linux.html&#xff09;<\/h4>\n<p> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4f5c\u4e3a\u5f00\u53d1\u8005\u6216\u5b66\u751f&#xff0c;\u60a8\u662f\u5426\u7ecf\u5e38\u56e0\u4e3a\u642d\u5efa\u548c\u7ef4\u62a4\u7f16\u7a0b\u73af\u5883\u800c\u611f\u5230\u5934\u75bc&#xff1f;\u73b0\u5728&#xff0c;\u60a8\u4e0d\u5fc5\u518d\u4e3a\u6b64\u70e6\u607c&#xff0c;\u56e0\u4e3a\u4e00\u6b3e\u5168\u65b0\u7684\u514d\u8d39\u516c\u5171\u670d\u52a1\u5668\u5df2\u7ecf\u4e3a\u60a8\u89e3\u51b3\u4e86\u6240\u6709\u95ee\u9898\u3002\u8fd9\u6b3e\u670d\u52a1\u5668\u5185\u7f6e\u4e86\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u7f16\u7a0b\u73af\u5883&#xff0c;\u5e76\u4e14\u914d\u5907\u4e86\u529f\u80fd\u5f3a\u5927\u7684\u5728\u7ebf\u7248VS Code&#xff0c;\u8ba9\u60a8\u53ef\u4ee5\u968f\u65f6\u968f\u5730\u5728\u7ebf\u7f16\u5199\u4ee3\u7801&#xff0c;\u65e0\u9700\u8fdb\u884c\u4efb\u4f55\u590d\u6742\u7684\u914d\u7f6e\u3002 <b>\u968f\u65f6\u968f\u5730&#xff0c;\u4e91\u7aef\u7f16\u7801<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u65e0\u8bba\u60a8\u8eab\u5728\u4f55\u5904&#xff0c;\u53ea\u8981\u6709\u7f51\u7edc\u8fde\u63a5&#xff0c;\u5c31\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u8fd9\u6b3e\u516c\u5171\u670d\u52a1\u5668&#xff0c;\u5f00\u59cb\u60a8\u7684\u7f16\u7a0b\u4e4b\u65c5\u3002\u8fd9\u79cd\u4e91\u7aef\u7f16\u7801\u7684\u4fbf\u5229\u6027&#xff0c;\u8ba9\u60a8\u7684\u5b66\u4e60\u6216\u5f00\u53d1\u5de5\u4f5c\u4e0d\u518d\u53d7\u9650\u4e8e\u7279\u5b9a\u7684\u8bbe\u5907\u6216\u73af\u5883\u3002 <b>\u4e30\u5bcc\u7684\u7f16\u7a0b\u8bed\u8a00\u652f\u6301<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u670d\u52a1\u5668\u652f\u6301\u5305\u62ecC\u3001C&#043;&#043;\u3001JavaScript\u3001TypeScript\u3001Go\u3001Rust\u3001PHP\u3001Java\u3001Ruby\u3001Python3\u4ee5\u53caC#\u7b49\u5728\u5185\u7684\u591a\u79cd\u4e3b\u6d41\u7f16\u7a0b\u8bed\u8a00&#xff0c;\u6ee1\u8db3\u4e0d\u540c\u5f00\u53d1\u8005\u548c\u5b66\u751f\u7684\u9700\u6c42\u3002\u65e0\u8bba\u60a8\u662f\u521d\u5b66\u8005\u8fd8\u662f\u8d44\u6df1\u5f00\u53d1\u8005&#xff0c;\u90fd\u80fd\u627e\u5230\u9002\u5408\u81ea\u5df1\u7684\u7f16\u7a0b\u73af\u5883\u3002 <b>\u5728\u7ebf\u7248VS Code&#xff0c;\u9ad8\u6548\u5f00\u53d1<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5185\u7f6e\u7684\u5728\u7ebf\u7248VS Code\u63d0\u4f9b\u4e86\u4e0e\u672c\u5730VS Code\u76f8\u4f3c\u7684\u7f16\u8f91\u4f53\u9a8c&#xff0c;\u5305\u62ec\u4ee3\u7801\u9ad8\u4eae\u3001\u667a\u80fd\u63d0\u793a\u3001\u4ee3\u7801\u8c03\u8bd5\u7b49\u529f\u80fd&#xff0c;\u8ba9\u60a8\u5373\u4f7f\u5728\u4e91\u7aef\u4e5f\u80fd\u4eab\u53d7\u5230\u9ad8\u6548\u7684\u5f00\u53d1\u4f53\u9a8c\u3002 <b>\u6570\u636e\u9690\u79c1\u548c\u5b89\u5168\u63d0\u9192<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u867d\u7136\u670d\u52a1\u5668\u662f\u514d\u8d39\u7684&#xff0c;\u4f46\u4e3a\u4e86\u4fdd\u62a4\u60a8\u7684\u6570\u636e\u9690\u79c1\u548c\u5b89\u5168&#xff0c;\u6211\u4eec\u5efa\u8bae\u60a8\u4e0d\u8981\u4e0a\u4f20\u4efb\u4f55\u654f\u611f\u6216\u91cd\u8981\u7684\u6570\u636e\u3002\u8fd9\u6b3e\u670d\u52a1\u5668\u66f4\u9002\u5408\u7528\u4e8e\u5b66\u4e60\u548c\u5b9e\u9a8c&#xff0c;\u800c\u975e\u5b58\u50a8\u91cd\u8981\u4fe1\u606f\u3002 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092131-6804bc9b7d4ec.png\" alt=\"\" \/><\/p>\n<h4>\u514d\u8d39\u516c\u76caMYSQL&#xff08;https:\/\/docs.ltpp.vip\/LTPP-SHARE\/mysql.html&#xff09;<\/h4>\n<p> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4f5c\u4e3a\u4e00\u540d\u5f00\u53d1\u8005\u6216\u5b66\u751f&#xff0c;\u6570\u636e\u5e93\u73af\u5883\u7684\u642d\u5efa\u548c\u7ef4\u62a4\u5f80\u5f80\u662f\u4e00\u4e2a\u590d\u6742\u4e14\u8017\u65f6\u7684\u8fc7\u7a0b\u3002\u4f46\u4e0d\u7528\u62c5\u5fc3&#xff0c;\u73b0\u5728\u6709\u4e00\u6b3e\u514d\u8d39\u7684MySQL\u670d\u52a1\u5668&#xff0c;\u4e13\u4e3a\u89e3\u51b3\u60a8\u7684\u70e6\u607c\u800c\u8bbe\u8ba1&#xff0c;\u8ba9\u6570\u636e\u5e93\u7684\u4f7f\u7528\u53d8\u5f97\u7b80\u5355\u800c\u9ad8\u6548\u3002 <b>\u6027\u80fd\u5353\u8d8a&#xff0c;\u6ee1\u8db3\u9700\u6c42<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u867d\u7136\u5b83\u662f\u514d\u8d39\u7684&#xff0c;\u4f46\u6027\u80fd\u7edd\u4e0d\u6253\u6298\u3002\u670d\u52a1\u5668\u63d0\u4f9b\u4e86\u7a33\u5b9a\u4e14\u9ad8\u6548\u7684\u6570\u636e\u5e93\u670d\u52a1&#xff0c;\u80fd\u591f\u6ee1\u8db3\u5927\u591a\u6570\u5f00\u53d1\u548c\u5b66\u4e60\u573a\u666f\u7684\u9700\u6c42\u3002 <b>\u5728\u7ebfphpMyAdmin&#xff0c;\u7ba1\u7406\u66f4\u4fbf\u6377<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5185\u7f6e\u7684\u5728\u7ebfphpMyAdmin\u7ba1\u7406\u9762\u677f&#xff0c;\u63d0\u4f9b\u4e86\u4e00\u4e2a\u76f4\u89c2\u4e14\u529f\u80fd\u5f3a\u5927\u7684\u7528\u6237\u754c\u9762&#xff0c;\u8ba9\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u67e5\u770b\u3001\u7f16\u8f91\u548c\u7ba1\u7406\u6570\u636e\u5e93\u3002 <b>\u6570\u636e\u9690\u79c1\u63d0\u9192&#xff0c;\u5b89\u5168\u7b2c\u4e00<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u6b63\u5982\u60a8\u6240\u77e5&#xff0c;\u8fd9\u662f\u4e00\u9879\u516c\u5171\u8d44\u6e90&#xff0c;\u56e0\u6b64\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u4e0a\u4f20\u4efb\u4f55\u654f\u611f\u6216\u91cd\u8981\u7684\u6570\u636e\u3002\u8bf7\u5c06\u6b64\u670d\u52a1\u5668\u4ec5\u7528\u4e8e\u5b66\u4e60\u548c\u5b9e\u9a8c\u76ee\u7684&#xff0c;\u4ee5\u786e\u4fdd\u60a8\u7684\u6570\u636e\u5b89\u5168\u3002 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092132-6804bc9c4a64e.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092132-6804bc9cab9a1.png\" alt=\"\" \/><\/p>\n<h4>\u514d\u8d39\u5728\u7ebfWEB\u4ee3\u7801\u7f16\u8f91\u5668&#xff08;https:\/\/docs.ltpp.vip\/LTPP-WEB-IDE\/&#xff09;<\/h4>\n<p> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u65e0\u8bba\u4f60\u662f\u5f00\u53d1\u8005\u8fd8\u662f\u5b66\u751f&#xff0c;\u7f16\u7a0b\u73af\u5883\u7684\u642d\u5efa\u548c\u7ba1\u7406\u53ef\u80fd\u4f1a\u5360\u7528\u4f60\u5b9d\u8d35\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002\u73b0\u5728&#xff0c;\u6709\u4e00\u6b3e\u5f3a\u5927\u7684\u514d\u8d39\u5728\u7ebf\u4ee3\u7801\u7f16\u8f91\u5668&#xff0c;\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00&#xff0c;\u8ba9\u60a8\u53ef\u4ee5\u968f\u65f6\u968f\u5730\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801&#xff0c;\u63d0\u5347\u7f16\u7a0b\u6548\u7387&#xff0c;\u4e13\u6ce8\u4e8e\u521b\u610f\u548c\u5f00\u53d1\u3002 <b>\u591a\u8bed\u8a00\u652f\u6301&#xff0c;\u65e0\u7f1d\u5207\u6362<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u8fd9\u6b3e\u5728\u7ebf\u4ee3\u7801\u7f16\u8f91\u5668\u652f\u6301\u5305\u62ecC\u3001C&#043;&#043;\u3001JavaScript\u3001TypeScript\u3001Go\u3001Rust\u3001PHP\u3001Java\u3001Ruby\u3001Python3\u4ee5\u53caC#\u5728\u5185\u7684\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00&#xff0c;\u65e0\u8bba\u60a8\u7684\u9879\u76ee\u9700\u8981\u54ea\u79cd\u8bed\u8a00&#xff0c;\u90fd\u80fd\u5728\u8fd9\u91cc\u627e\u5230\u652f\u6301\u3002 <b>\u5728\u7ebf\u8fd0\u884c&#xff0c;\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u60a8\u53ef\u4ee5\u5728\u7f16\u5199\u4ee3\u7801\u7684\u540c\u65f6&#xff0c;\u5373\u65f6\u8fd0\u884c\u5e76\u67e5\u770b\u7ed3\u679c&#xff0c;\u5feb\u901f\u5b9a\u4f4d\u5e76\u89e3\u51b3\u95ee\u9898&#xff0c;\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002 <b>\u4ee3\u7801\u9ad8\u4eae\u4e0e\u667a\u80fd\u63d0\u793a<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u7f16\u8f91\u5668\u63d0\u4f9b\u4ee3\u7801\u9ad8\u4eae\u548c\u667a\u80fd\u63d0\u793a\u529f\u80fd&#xff0c;\u5e2e\u52a9\u60a8\u66f4\u5feb\u5730\u7f16\u5199\u4ee3\u7801&#xff0c;\u51cf\u5c11\u9519\u8bef&#xff0c;\u63d0\u5347\u7f16\u7801\u8d28\u91cf\u3002 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092133-6804bc9d1d99f.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092133-6804bc9d80e98.png\" alt=\"\" \/><\/p>\n<h4>\u514d\u8d39\u4e8c\u7ef4\u7801\u751f\u6210\u5668&#xff08;https:\/\/docs.ltpp.vip\/LTPP-QRCODE\/&#xff09;<\/h4>\n<p> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4e8c\u7ef4\u7801&#xff08;QR Code&#xff09;\u662f\u4e00\u79cd\u4e8c\u7ef4\u6761\u7801&#xff0c;\u80fd\u591f\u5b58\u50a8\u66f4\u591a\u4fe1\u606f&#xff0c;\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd\u624b\u673a\u7b49\u8bbe\u5907\u5feb\u901f\u626b\u63cf\u8bc6\u522b\u3002\u5b83\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u573a\u666f&#xff0c;\u5982&#xff1a; <b>\u4f01\u4e1a\u5ba3\u4f20<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4f01\u4e1a\u53ef\u4ee5\u901a\u8fc7\u4e8c\u7ef4\u7801\u5206\u4eab\u516c\u53f8\u7f51\u7ad9\u3001\u4ea7\u54c1\u4fe1\u606f\u3001\u670d\u52a1\u4ecb\u7ecd\u7b49\u3002 <b>\u6d3b\u52a8\u63a8\u5e7f<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u6d3b\u52a8\u7ec4\u7ec7\u8005\u53ef\u4ee5\u521b\u5efa\u4e8c\u7ef4\u7801&#xff0c;\u53c2\u4e0e\u8005\u626b\u63cf\u540e\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee\u6d3b\u52a8\u8be6\u60c5\u3001\u62a5\u540d\u94fe\u63a5\u6216\u83b7\u53d6\u7535\u5b50\u95e8\u7968\u3002 <b>\u4e2a\u4eba\u4fe1\u606f\u5206\u4eab<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4e2a\u4eba\u53ef\u4ee5\u751f\u6210\u5305\u542b\u8054\u7cfb\u65b9\u5f0f\u3001\u793e\u4ea4\u5a92\u4f53\u94fe\u63a5\u3001\u4e2a\u4eba\u7b80\u5386\u7b49\u4fe1\u606f\u7684\u4e8c\u7ef4\u7801\u3002 <b>\u7535\u5b50\u5546\u52a1<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5546\u5bb6\u4f7f\u7528\u4e8c\u7ef4\u7801\u8fdb\u884c\u5546\u54c1\u8ffd\u8e2a\u3001\u4fc3\u9500\u6d3b\u52a8\u3001\u5728\u7ebf\u652f\u4ed8\u7b49\u3002 <b>\u6559\u80b2<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u6559\u5e08\u53ef\u4ee5\u521b\u5efa\u4e8c\u7ef4\u7801&#xff0c;\u5b66\u751f\u626b\u63cf\u540e\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee\u5b66\u4e60\u8d44\u6599\u6216\u5728\u7ebf\u8bfe\u7a0b\u3002 <b>\u4ea4\u901a\u51fa\u884c<\/b> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u4e8c\u7ef4\u7801\u7528\u4e8e\u516c\u5171\u4ea4\u901a\u7684\u7968\u52a1\u7cfb\u7edf&#xff0c;\u4e58\u5ba2\u626b\u63cf\u4e8c\u7ef4\u7801\u5373\u53ef\u8fdb\u51fa\u7ad9\u6216\u652f\u4ed8\u8f66\u8d39\u3002 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u529f\u80fd\u5f3a\u5927\u7684\u4e8c\u7ef4\u7801\u751f\u6210\u5668\u901a\u5e38\u5177\u5907\u7528\u6237\u754c\u9762\u53cb\u597d&#xff0c;\u64cd\u4f5c\u7b80\u5355&#xff0c;\u5373\u4f7f\u662f\u521d\u5b66\u8005\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u548c\u751f\u6210\u7684\u4e8c\u7ef4\u7801\u53ef\u4ee5\u5728\u5404\u79cd\u8bbe\u5907\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u626b\u63cf\u8bc6\u522b\u7684\u7279\u70b9\u3002 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092133-6804bc9de3476.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb857\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf25\u6b21\u3002Hyperlane \u662f\u4e00\u4e2a\u57fa\u4e8e Rust \u8bed\u8a00\u5f00\u53d1\u7684\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u4e13\u4e3a\u7b80\u5316\u7f51\u7edc\u670d\u52a1\u5f00\u53d1\u800c\u8bbe\u8ba1\u3002\u5b83\u652f\u6301 HTTP \u8bf7\u6c42\u89e3\u6790\u3001\u54cd\u5e94\u6784\u5efa\u3001TCP \u901a\u4fe1\u548c\u91cd\u5b9a\u5411\u529f\u80fd\uff0c\u662f\u6784\u5efa\u73b0\u4ee3 Web \u670d\u52a1\u7684\u7406\u60f3\u9009\u62e9\u3002Hyperlane \u4e0d\u4ec5\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u8fd8\u5b9e\u73b0\u4e86\u7075\u6d3b\u9ad8\u6548\u7684\u5b9e\u65f6\u901a\u4fe1\uff0c\u652f\u6301\u8bf7\u6c42\u548c\u54cd\u5e94\u4e2d\u95f4\u4ef6\u3001WebSocket \u548c\u670d\u52a1\u5668\u53d1\u9001\u4e8b\u4ef6\uff08SSE\uff09\u3002<\/p>\n","protected":false},"author":2,"featured_media":30190,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[151,99,206,87,190,43,78],"topic":[],"class_list":["post-30197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-http","tag-java","tag-rust","tag-87","tag-190","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/30197.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb857\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf25\u6b21\u3002Hyperlane \u662f\u4e00\u4e2a\u57fa\u4e8e Rust \u8bed\u8a00\u5f00\u53d1\u7684\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u4e13\u4e3a\u7b80\u5316\u7f51\u7edc\u670d\u52a1\u5f00\u53d1\u800c\u8bbe\u8ba1\u3002\u5b83\u652f\u6301 HTTP \u8bf7\u6c42\u89e3\u6790\u3001\u54cd\u5e94\u6784\u5efa\u3001TCP \u901a\u4fe1\u548c\u91cd\u5b9a\u5411\u529f\u80fd\uff0c\u662f\u6784\u5efa\u73b0\u4ee3 Web \u670d\u52a1\u7684\u7406\u60f3\u9009\u62e9\u3002Hyperlane \u4e0d\u4ec5\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u8fd8\u5b9e\u73b0\u4e86\u7075\u6d3b\u9ad8\u6548\u7684\u5b9e\u65f6\u901a\u4fe1\uff0c\u652f\u6301\u8bf7\u6c42\u548c\u54cd\u5e94\u4e2d\u95f4\u4ef6\u3001WebSocket \u548c\u670d\u52a1\u5668\u53d1\u9001\u4e8b\u4ef6\uff08SSE\uff09\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/30197.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-20T09:21:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092131-6804bc9b05c88.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/30197.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/30197.html\",\"name\":\"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-20T09:21:35+00:00\",\"dateModified\":\"2025-04-20T09:21:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/30197.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/30197.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/30197.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/30197.html","og_locale":"zh_CN","og_type":"article","og_title":"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb857\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf25\u6b21\u3002Hyperlane \u662f\u4e00\u4e2a\u57fa\u4e8e Rust \u8bed\u8a00\u5f00\u53d1\u7684\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u4e13\u4e3a\u7b80\u5316\u7f51\u7edc\u670d\u52a1\u5f00\u53d1\u800c\u8bbe\u8ba1\u3002\u5b83\u652f\u6301 HTTP \u8bf7\u6c42\u89e3\u6790\u3001\u54cd\u5e94\u6784\u5efa\u3001TCP \u901a\u4fe1\u548c\u91cd\u5b9a\u5411\u529f\u80fd\uff0c\u662f\u6784\u5efa\u73b0\u4ee3 Web \u670d\u52a1\u7684\u7406\u60f3\u9009\u62e9\u3002Hyperlane \u4e0d\u4ec5\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u8fd8\u5b9e\u73b0\u4e86\u7075\u6d3b\u9ad8\u6548\u7684\u5b9e\u65f6\u901a\u4fe1\uff0c\u652f\u6301\u8bf7\u6c42\u548c\u54cd\u5e94\u4e2d\u95f4\u4ef6\u3001WebSocket \u548c\u670d\u52a1\u5668\u53d1\u9001\u4e8b\u4ef6\uff08SSE\uff09\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/30197.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-20T09:21:35+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420092131-6804bc9b05c88.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/30197.html","url":"https:\/\/www.wsisp.com\/helps\/30197.html","name":"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-20T09:21:35+00:00","dateModified":"2025-04-20T09:21:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/30197.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/30197.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/30197.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"[\u7279\u6b8a\u5b57\u7b26] Hyperlane\uff1aRust \u9ad8\u6027\u80fd HTTP \u670d\u52a1\u5668\u5e93\uff0c\u5f00\u542f Web \u670d\u52a1\u65b0\u7eaa\u5143\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/30197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=30197"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/30197\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/30190"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=30197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=30197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=30197"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=30197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}