{"id":164160,"date":"2024-05-08T14:48:57","date_gmt":"2024-05-08T06:48:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/164160.html"},"modified":"2024-05-08T14:49:04","modified_gmt":"2024-05-08T06:49:04","slug":"windows-%e5%bc%80%e5%8f%91%e4%b8%ad%ef%bc%8c%e5%a6%82%e4%bd%95%e8%bf%9b%e8%a1%8c%e7%bd%91%e7%bb%9c%e7%bc%96%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/164160.html","title":{"rendered":"Windows \u5f00\u53d1\u4e2d\uff0c\u5982\u4f55\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26230955\/e54fcab5-5b34-4883-98aa-d6ea8505e954.webp\" alt=\"Windows \u5f00\u53d1\u4e2d\uff0c\u5982\u4f55\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\" \/><\/p>\n<p><p>\u5728Windows\u5f00\u53d1\u4e2d\uff0c\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\u4e3b\u8981\u4f9d\u8d56\u4e8e\u51e0\u4e2a\u5173\u952e\u6280\u672f\uff1a<strong>Winsock API\u3001IOCP\uff08\u8f93\u5165\u8f93\u51fa\u5b8c\u6210\u7aef\u53e3\uff09\u3001\u9ad8\u7ea7\u6846\u67b6\u5982.NET\u548cWindows API<\/strong>\u3002\u5176\u4e2d\uff0c<strong>Winsock API<\/strong> \u662fWindows\u7f51\u7edc\u7f16\u7a0b\u7684\u57fa\u77f3\uff0c\u5b83\u662f\u5bf9BSD Socket\u7684\u4e00\u4e2a\u5b9e\u73b0\uff0c\u63d0\u4f9b\u4e86\u4e00\u5957\u4e30\u5bcc\u7684\u51fd\u6570\u63a5\u53e3\uff0c\u7528\u4e8e\u5728Windows\u5e73\u53f0\u4e0a\u8fdb\u884cTCP\/IP\u7f51\u7edc\u901a\u4fe1\u3002<\/p>\n<\/p>\n<p><p>\u6df1\u5165\u4e00\u70b9\u8c08\u8c08<strong>Winsock API<\/strong>\u3002\u8fd9\u4e2aAPI\u662fWindows Socket\u7684\u7f29\u5199\uff0c\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u51fd\u6570\u8c03\u7528\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6267\u884c\u7f51\u7edc\u64cd\u4f5c\u3002\u4ece\u53d1\u8d77\u4e00\u4e2aTCP\u6216UDP\u8fde\u63a5\u5230\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0cWinsock API\u90fd\u6709\u5bf9\u5e94\u7684\u51fd\u6570\u652f\u6301\u3002\u4f55\u51b5\uff0c\u5b83\u8fd8\u652f\u6301\u5f02\u6b65\u6216\u975e\u963b\u585e\u64cd\u4f5c\uff0c\u8fd9\u5728\u5904\u7406\u591a\u4e2a\u7f51\u7edc\u8fde\u63a5\u65f6\u7279\u522b\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u6709\u6548\u7ba1\u7406\u8d44\u6e90\uff0c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001 WINDOWS SOCKET\u7f16\u7a0b\u57fa\u7840<\/h3>\n<\/p>\n<p><h4>\u57fa\u7840API\u4ecb\u7ecd<\/h4>\n<\/p>\n<p><p>Windows Socket\u7f16\u7a0b\u7684\u8d77\u6b65\u57fa\u7840\u5728\u4e8e\u719f\u6089Winsock API\u3002\u542f\u52a8Winsock\u5e93\uff08WSAStartup\u51fd\u6570\uff09\u3001\u521b\u5efa\u5957\u63a5\u5b57\uff08socket\u51fd\u6570\uff09\u3001\u7ed1\u5b9a\u5730\u5740\u5230\u5957\u63a5\u5b57\uff08bind\u51fd\u6570\uff09\u3001\u76d1\u542c\u8fde\u63a5\uff08listen\u51fd\u6570\uff09\u4ee5\u53ca\u63a5\u53d7\u8fde\u63a5\uff08accept\u51fd\u6570\uff09\uff0c\u6bcf\u4e00\u6b65\u90fd\u662f\u7f51\u7edc\u7f16\u7a0b\u4e2d\u5b8c\u6210\u7279\u5b9a\u4efb\u52a1\u7684\u57fa\u7840\u3002\u5b66\u4e60\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u57fa\u7840\u51fd\u6570\u662f\u5165\u95e8Windows\u7f51\u7edc\u7f16\u7a0b\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<p><h4>\u5957\u63a5\u5b57\u9009\u9879\u548c\u914d\u7f6e<\/h4>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u7f51\u7edc\u901a\u4fe1\u65f6\uff0c\u914d\u7f6e\u5957\u63a5\u5b57\u9009\u9879\u53ef\u4ee5\u6781\u5927\u5f71\u54cd\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u901a\u8fc7\u8bbe\u7f6e\u5957\u63a5\u5b57\u4e3a\u975e\u963b\u585e\u6a21\u5f0f\uff0c\u53ef\u4ee5\u8ba9\u5e94\u7528\u7a0b\u5e8f\u5728\u7b49\u5f85\u7f51\u7edc\u54cd\u5e94\u65f6\u8fd8\u80fd\u7ee7\u7eed\u6267\u884c\u5176\u4ed6\u4efb\u52a1\u3002\u6b64\u5916\uff0cTCP_NODELAY\u548cSO_REUSEADDR\u7b49\u9009\u9879\u5141\u8bb8\u5f00\u53d1\u8005\u4f18\u5316\u7f51\u7edc\u901a\u4fe1\u7684\u8868\u73b0\uff0c\u5982\u51cf\u5c11\u6570\u636e\u5305\u5ef6\u8fdf\u548c\u5141\u8bb8\u5728\u540c\u4e00\u7aef\u53e3\u91cd\u542f\u670d\u52a1\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001 \u8fdb\u9636\u7f51\u7edc\u7f16\u7a0b\u6280\u5de7<\/h3>\n<\/p>\n<p><h4>\u4f7f\u7528IOCP\u5b9e\u73b0\u9ad8\u6027\u80fd\u7f51\u7edc\u901a\u4fe1<\/h4>\n<\/p>\n<p><p>\u8f93\u5165\/\u8f93\u51fa\u5b8c\u6210\u7aef\u53e3\uff08IOCP\uff09\u662fWindows\u5e73\u53f0\u7279\u6709\u7684\u4e00\u79cd\u9ad8\u6027\u80fd\u7f51\u7edc\u7f16\u7a0b\u6a21\u578b\u3002\u5b83\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u4ee5\u5f02\u6b65\u65b9\u5f0f\u5904\u7406\u591a\u4e2a\u7f51\u7edcI\/O\u64cd\u4f5c\uff0c\u8fd9\u5bf9\u4e8e\u6784\u5efa\u9ad8\u5e76\u53d1\u7684\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\u3002\u5229\u7528IOCP\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5c06\u7f51\u7edcI\/O\u4e8b\u4ef6\u4e0e\u5de5\u4f5c\u7ebf\u7a0b\u5173\u8054\u8d77\u6765\uff0c\u63d0\u9ad8\u8d44\u6e90\u5229\u7528\u7387\u548c\u54cd\u5e94\u901f\u5ea6\u3002<\/p>\n<\/p>\n<p><h4>\u5229\u7528\u9ad8\u7ea7\u6846\u67b6\u7b80\u5316\u7f51\u7edc\u7f16\u7a0b<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4e0d\u60f3\u6df1\u5165\u5e95\u5c42Winsock API\u7684\u5f00\u53d1\u8005\uff0c\u73b0\u4ee3Windows\u5e73\u53f0\u4e0a\u7684.NET Framework\u548cWindows Runtime\u63d0\u4f9b\u4e86\u66f4\u7b80\u5355\u3001\u66f4\u9ad8\u5c42\u7684\u7f51\u7edcAPI\u3002\u4f8b\u5982\uff0c.NET\u4e2d\u7684HttpClient\u7c7b\u548cWebSocket\u7c7b\uff0c\u4f7f\u5f97\u6267\u884cHTTP\u8bf7\u6c42\u548c\u5b9e\u73b0\u5b9e\u65f6\u901a\u4fe1\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u3002\u9ad8\u7ea7\u6846\u67b6\u4e0d\u4ec5\u7b80\u5316\u4e86\u7f16\u7801\u8fc7\u7a0b\uff0c\u8fd8\u5185\u7f6e\u4e86\u8bb8\u591a\u6027\u80fd\u4f18\u5316\u548c\u5b89\u5168\u7279\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001 \u7f51\u7edc\u5b89\u5168\u53ca\u9519\u8bef\u5904\u7406<\/h3>\n<\/p>\n<p><h4>\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u5b89\u5168<\/h4>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\u65f6\uff0c\u4fdd\u8bc1\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u662f\u4e0d\u53ef\u5ffd\u89c6\u7684\u65b9\u9762\u3002\u4f7f\u7528SSL\/TLS\u53ef\u4ee5\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\uff0c\u907f\u514d\u654f\u611f\u4fe1\u606f\u5728\u7f51\u7edc\u4e2d\u88ab\u7a83\u542c\u6216\u7be1\u6539\u3002\u5728Windows\u5e73\u53f0\u4e0a\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528Secure Socket Layer API\u6216.NET Framework\u4e2d\u7684Security\u547d\u540d\u7a7a\u95f4\u6765\u5b9e\u73b0\u6570\u636e\u7684\u52a0\u5bc6\u4f20\u8f93\u3002<\/p>\n<\/p>\n<p><h4>\u7f51\u7edc\u7f16\u7a0b\u4e2d\u7684\u9519\u8bef\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u7f51\u7edc\u7f16\u7a0b\u4e2d\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u7f51\u7edc\u8d85\u65f6\u3001\u65ad\u5f00\u8fde\u63a5\u548c\u6570\u636e\u4f20\u8f93\u9519\u8bef\u7b49\u3002\u5408\u7406\u7684\u9519\u8bef\u5904\u7406\u7b56\u7565\u4e0d\u4ec5\u80fd\u63d0\u5347\u5e94\u7528\u7a0b\u5e8f\u7684\u7a33\u5b9a\u6027\uff0c\u8fd8\u80fd\u63d0\u4f9b\u66f4\u597d\u7684\u7528\u6237\u4f53\u9a8c\u3002\u4f8b\u5982\uff0c\u4f7f\u7528try-catch\u8bed\u53e5\u6355\u83b7\u5f02\u5e38\u3001\u5728\u6355\u83b7\u5230\u5f02\u5e38\u65f6\u91cd\u8bd5\u8fde\u63a5\u6216\u901a\u77e5\u7528\u6237\uff0c\u90fd\u662f\u5904\u7406\u7f51\u7edc\u7f16\u7a0b\u4e2d\u9519\u8bef\u7684\u6709\u6548\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001 \u6027\u80fd\u4f18\u5316<\/h3>\n<\/p>\n<p><h4>\u7f51\u7edc\u901a\u4fe1\u7684\u6027\u80fd\u8c03\u4f18<\/h4>\n<\/p>\n<p><p>\u5728\u4fdd\u8bc1\u529f\u80fd\u5b8c\u6574\u6027\u7684\u524d\u63d0\u4e0b\uff0c\u4f18\u5316\u7f51\u7edc\u901a\u4fe1\u7684\u6027\u80fd\u662f\u63d0\u5347\u5e94\u7528\u4f53\u9a8c\u7684\u5173\u952e\u3002\u4e00\u65b9\u9762\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574TCP\u7a97\u53e3\u5927\u5c0f\u3001\u8bbe\u7f6e\u6b63\u786e\u7684\u7f13\u51b2\u533a\u5927\u5c0f\u6765\u51cf\u5c11\u7f51\u7edc\u5ef6\u8fdf\u548c\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u5408\u7406\u8bbe\u8ba1\u7f51\u7edc\u901a\u4fe1\u534f\u8bae\uff0c\u5982\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u6570\u636e\u4f20\u8f93\u3001\u4f7f\u7528\u6709\u6548\u7684\u6570\u636e\u538b\u7f29\u7b97\u6cd5\uff0c\u4e5f\u80fd\u5927\u5e45\u4f18\u5316\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h4>\u5b9e\u73b0\u8d44\u6e90\u6709\u6548\u5229\u7528<\/h4>\n<\/p>\n<p><p>\u5728\u9ad8\u5e76\u53d1\u7f51\u7edc\u5e94\u7528\u4e2d\uff0c\u5408\u7406\u7ba1\u7406\u548c\u5229\u7528\u7cfb\u7edf\u8d44\u6e90\u662f\u63d0\u9ad8\u6027\u80fd\u7684\u53e6\u4e00\u4e2a\u5173\u952e\u56e0\u7d20\u3002\u4f7f\u7528\u7ebf\u7a0b\u6c60\u6765\u7ba1\u7406\u5de5\u4f5c\u7ebf\u7a0b\u3001\u5229\u7528\u975e\u963b\u585eIO\u548cIOCP\u6a21\u578b\u51cf\u5c11\u7b49\u5f85\u65f6\u95f4\u3001\u4ee5\u53ca\u901a\u8fc7\u8d1f\u8f7d\u5747\u8861\u6280\u672f\u5408\u7406\u5206\u914d\u8bf7\u6c42\u7b49\uff0c\u90fd\u662f\u4f18\u5316\u7cfb\u7edf\u8d44\u6e90\u5229\u7528\u7684\u6709\u6548\u624b\u6bb5\u3002<\/p>\n<\/p>\n<p><p>\u7ed3\u8bba\u4e0a\uff0cWindows\u5e73\u53f0\u4e0a\u7684\u7f51\u7edc\u7f16\u7a0b\u662f\u4e00\u9879\u590d\u6742\u4f46\u53c8\u6781\u5177\u6311\u6218\u6027\u7684\u4efb\u52a1\u3002\u65e0\u8bba\u662f\u6df1\u5165Winsock API\u7684\u5e95\u5c42\u7f51\u7edc\u5f00\u53d1\uff0c\u8fd8\u662f\u5229\u7528\u9ad8\u7ea7\u6846\u67b6\u548c\u6280\u672f\u7b80\u5316\u5f00\u53d1\u8fc7\u7a0b\uff0c\u90fd\u9700\u8981\u5f00\u53d1\u8005\u5177\u5907\u624e\u5b9e\u7684\u7f16\u7a0b\u57fa\u7840\u548c\u6301\u7eed\u5b66\u4e60\u7684\u70ed\u60c5\u3002\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u6838\u5fc3\u6280\u672f\u548c\u7b56\u7565\uff0c\u5f00\u53d1\u8005\u80fd\u591f\u6784\u5efa\u51fa\u9ad8\u6548\u3001\u5b89\u5168\u3001\u7a33\u5b9a\u7684\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>Windows \u5f00\u53d1\u4e2d\uff0c\u5982\u4f55\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\uff1f<\/strong><\/p>\n<ol>\n<li>\n<p><strong>\u6709\u54ea\u4e9b\u5e38\u7528\u7684\u7f51\u7edc\u7f16\u7a0b\u6280\u672f\u548c\u6846\u67b6\uff1f<\/strong><br \/>\n\u5728Windows\u5f00\u53d1\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u7f51\u7edc\u7f16\u7a0b\u6280\u672f\u548c\u6846\u67b6\uff0c\u5982Socket\u7f16\u7a0b\u3001Winsock\u5e93\u3001.NET\u7684System.Net\u547d\u540d\u7a7a\u95f4\u3001Windows Communication Foundation (WCF)\u7b49\u3002\u8fd9\u4e9b\u6280\u672f\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5b9e\u73b0\u7f51\u7edc\u901a\u4fe1\u7684\u5404\u79cd\u529f\u80fd\uff0c\u5305\u62ec\u521b\u5efa\u670d\u52a1\u5668\u3001\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\u3001\u5904\u7406\u7f51\u7edc\u8fde\u63a5\u7b49\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5982\u4f55\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8eSocket\u7684\u7f51\u7edc\u8fde\u63a5\uff1f<\/strong><br \/>\n\u4f7f\u7528Socket\u7f16\u7a0b\uff0c\u53ef\u4ee5\u5728Windows\u4e0a\u521b\u5efa\u7f51\u7edc\u8fde\u63a5\u3002\u9996\u5148\uff0c\u9700\u8981\u521b\u5efa\u4e00\u4e2aSocket\u5bf9\u8c61\uff0c\u5e76\u6307\u5b9a\u7f51\u7edc\u534f\u8bae\u548c\u7c7b\u578b\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Socket\u5bf9\u8c61\u7684Connect\u65b9\u6cd5\u6765\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\u3002\u5728\u8fde\u63a5\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Socket\u5bf9\u8c61\u7684Send\u548cReceive\u65b9\u6cd5\u6765\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u3002\u6700\u540e\uff0c\u4f7f\u7528Socket\u5bf9\u8c61\u7684Close\u65b9\u6cd5\u5173\u95ed\u7f51\u7edc\u8fde\u63a5\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5982\u4f55\u4f7f\u7528.NET\u7684System.Net\u547d\u540d\u7a7a\u95f4\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\uff1f<\/strong><br \/>\n\u901a\u8fc7System.Net\u547d\u540d\u7a7a\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528.NET Framework\u63d0\u4f9b\u7684\u9ad8\u7ea7\u7f51\u7edc\u7f16\u7a0b\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528WebClient\u7c7b\u6765\u4e0b\u8f7d\u6216\u4e0a\u4f20\u6587\u4ef6\uff0c\u4f7f\u7528TcpClient\u548cTcpListener\u7c7b\u521b\u5efaTCP\u8fde\u63a5\uff0c\u4f7f\u7528UdpClient\u7c7b\u521b\u5efaUDP\u8fde\u63a5\uff0c\u4f7f\u7528WebServer\u7c7b\u521b\u5efa\u7b80\u5355\u7684Web\u670d\u52a1\u5668\u7b49\u3002\u8fd9\u4e9b\u7c7b\u63d0\u4f9b\u4e86\u7b80\u6d01\u7684API\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\u3002\u540c\u65f6\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528ASP.NET\u6846\u67b6\u6765\u521b\u5efa\u66f4\u590d\u6742\u7684\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982Web\u5e94\u7528\u7a0b\u5e8f\u3001Web\u670d\u52a1\u7b49\u3002<\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"\u5728Windows\u5f00\u53d1\u4e2d\uff0c\u8fdb\u884c\u7f51\u7edc\u7f16\u7a0b\u4e3b\u8981\u4f9d\u8d56\u4e8e\u51e0\u4e2a\u5173\u952e\u6280\u672f\uff1aWinsock API\u3001IOCP\uff08\u8f93\u5165\u8f93\u51fa\u5b8c\u6210\u7aef\u53e3 [&hellip;]","protected":false},"author":3,"featured_media":164176,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/164160"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=164160"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/164160\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/164176"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=164160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=164160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=164160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}