{"id":439170,"date":"2021-04-14T06:51:00","date_gmt":"2021-04-13T22:51:00","guid":{"rendered":"http:\/\/4563.org\/?p=439170"},"modified":"2021-04-14T06:51:00","modified_gmt":"2021-04-13T22:51:00","slug":"%e4%b8%80%e7%a7%8d%e5%9f%ba%e4%ba%8e-http-%e7%9a%84%e4%bc%aa%e5%8f%8c%e5%b7%a5%e9%80%9a%e4%bf%a1","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=439170","title":{"rendered":"\u4e00\u79cd\u57fa\u4e8e HTTP \u7684\u4f2a\u53cc\u5de5\u901a\u4fe1"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e00\u79cd\u57fa\u4e8e HTTP \u7684\u4f2a\u53cc\u5de5\u901a\u4fe1               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4e00\u822c\u63d0\u5230 Web \u7684\u53cc\u5de5\u901a\u4fe1\uff0c\u7b2c\u4e00\u53cd\u5e94\u90fd\u662f WebSocket\uff0c\u4f46 WebSocket \u4e0e\u5176\u4ed6 HTTP \u4e1a\u52a1\u5f80\u5f80\u4e0d\u80fd\u5f88\u597d\u7684\u878d\u5408\u5728\u4e00\u8d77\u3002\u800c\u76f4\u63a5\u4f7f\u7528 HTTP \u8f6e\u8be2\uff0cHTTP \u5934\u53c8\u592a\u5927\u4e86\uff0c\u54ea\u6015\u4e0a\u4e86 HTTP2\uff0c\u4e5f\u662f\u6d6a\u8d39\u8d44\u6e90\u3002<\/p>\n<p>Server-sent events \u5c31\u662f\u4e00\u79cd\u5f88\u597d\u7684\u57fa\u4e8e HTTP \u7684\u5355\u5411\u957f\u8fde\u63a5\u901a\u4fe1\u65b9\u5f0f\u3002https:\/\/developer.mozilla.org\/zh-CN\/docs\/Web\/API\/Server-sent_events <\/p>\n<p>\u6bd4\u5982\u65e5\u5fd7\u6d41\u5c55\u793a\u4e1a\u52a1\uff0c\u53ea\u9700\u8981\u4f7f\u7528 SSE \u5c31\u884c\u4e86\uff0c\u5b8c\u5168\u4e0d\u9700\u8981\u4e0a WebSocket \u3002<\/p>\n<p>\u6240\u8c13\u53cc\u5de5\u901a\u4fe1\uff0c\u5c31\u662f\u670d\u52a1\u7aef\u62e5\u6709\u968f\u65f6\u63a8\u9001\u6d88\u606f\u7ed9\u5ba2\u6237\u7aef\u4e14\u5ba2\u6237\u7aef\u62e5\u6709\u968f\u65f6\u63a8\u9001\u6d88\u606f\u7ed9\u670d\u52a1\u7aef\u7684\u80fd\u529b\u3002\u4f7f\u7528 SSE \u5c31\u53ef\u4ee5\u8ba9\u670d\u52a1\u7aef\u53ef\u4ee5\u968f\u65f6\u63a8\u9001\u6d88\u606f\u7ed9\u5ba2\u6237\u7aef\uff0c\u800c\u5ba2\u6237\u7aef\u63a8\u9001\u6d88\u606f\u7ed9\u670d\u52a1\u7aef\uff0c\u76f4\u63a5 HTTP \u8bf7\u6c42\u5c31\u884c\u3002<\/p>\n<p>\u8fd9\u79cd\u4f2a\u53cc\u5de5\u901a\u4fe1\u7684\u597d\u5904\u5c31\u662f\u5b8c\u5168\u57fa\u4e8e HTTP\uff0c\u8d1f\u8f7d\u5747\u8861\u3001\u53cd\u5411\u4ee3\u7406\u4ee5\u53ca\u5ba2\u6237\u7aef\u7684\u8c03\u7528\u903b\u8f91\u90fd\u53ef\u4ee5\u4f7f\u7528\u73b0\u6210\u7684\u751f\u6001\uff0c\u4e0d\u9700\u8981\u518d\u53bb\u57fa\u4e8e WebSocket \u641e\u4e00\u5957\u4ee3\u7801\u3002<\/p>\n<p>\u5237\u63a8\u7279\u770b\u5230\u6709\u4eba\u4f7f\u7528 SSE \u505a\u65e5\u5fd7\u6d41\u63a8\u9001\u4e1a\u52a1\u6709\u611f\u800c\u53d1\u3002\u6240\u4ee5\u629b\u7816\u51fa\u6765\u4f9b\u5927\u5bb6\u4e00\u89c2\u3002<\/p>\n<\/p><\/div>\n<p><\/p>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>22<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5753885\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhengxiaowai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5173\u952e\u662f\u6ca1\u4ec0\u4e48\u751f\u6001\uff0c\uff0cSSE \u57fa\u672c\u6ca1\u4eba\u7528\u3002<\/p>\n<p>WebSocket \u5929\u751f\u4e3a Web \u800c\u751f\u548c HTTP \u7ed3\u5408\u7684\u6bd4\u8f83\u597d\uff0c\u4e0d\u592a\u6e05\u695a\u4e0d\u80fd\u5f88\u597d\u878d\u5408\u6307\u7684\u662f\uff1f<br \/>\u53e6\u5916 WebSocket \u4e45\u7ecf\u8003\u9a8c\uff0c\u6bd4\u8f83\u6307\u7684\u4fe1\u8d56\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753886\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhengxiaowai \u786e\u5b9e\uff0cSSE \u5f88\u5c11\u770b\u5230\u6709\u4eba\u7528\uff0c\u6211\u4e5f\u662f\u5927\u6982\u4e00\u5e74\u524d\u624d\u77e5\u9053\u6709\u8fd9\u4e2a\u4e1c\u897f\u7684\u3002<\/p>\n<p>WebSocket \u548c HTTP \u7ed3\u5408\u7684\u6211\u611f\u89c9\u4e5f\u4e00\u822c\u5427\uff0c\u6bd4\u5982 Serverless \u5e73\u53f0\u5b9e\u73b0 WebSocket \u8d85\u7ea7\u9ebb\u70e6\u3002\u53ea\u9488\u5bf9\u65b0\u624b\u800c\u8a00\uff0c\u914d\u7f6e\u53cd\u4ee3\u5c31\u662f\u4e2a\u95ee\u9898\u4e86\u3002\u8fd8\u6709\u4e00\u4e2a\uff0c\u5c31\u662f WebSocket \u7279\u522b\u5bb9\u6613\u88ab\u6ee5\u7528\u3002HTTP \u4e5f\u4e0d\u8d70\u4e86\uff0c\u76f4\u63a5\u5728 WebSocket \u4e0a\u5c01\u88c5\u4e00\u4e2a\u4ea4\u4e92\u534f\u8bae\u51fa\u6765\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753887\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whytheluckystiff <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u7528\u8fc7 GitHub \u4e48\uff0cGitHub \u6240\u6709\u7684\u8bae\u9898\u548c\u62c9\u53d6\u8bf7\u6c42\u9875\u9762\u90fd\u5728\u4f7f\u7528 WebSocket \uff01\u540e\u8fb9\u80af\u5b9a\u6709\u4e00\u4e2a\u6050\u6016\u7684\u96c6\u7fa4\uff0c\u6211\u4f30\u8ba1\u662f\u7528 socket.io \u5199\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753888\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u670d\u52a1\u5668\u4e0a\u7684\u5ba2\u6237\u7aef\u8ba2\u9605\uff0c\u5c31\u662f SSE \u5355\u5411\u63a8\u9001\u3002\u672c\u8d28\u4e0a\u6d4f\u89c8\u5668\u5c31\u662f\u4e00\u4e2a\u865a\u62df\u7684 POST \u6587\u4ef6\u4e0a\u4f20\u7ec4\u4ef6\uff0c\u7136\u540e\u670d\u52a1\u5668\u5361\u4f4f\uff0c\u4e0d\u9a6c\u4e0a\u8fd4\u56de\uff0c\u6539\u4e3a\u5f88\u7f13\u6162\u7f13\u6162\u7684\u5411\u5ba2\u6237\u7aef\u6e10\u8fdb\u5f0f\u53d1\u6570\u636e\u3002<\/p>\n<p>\u4ee3\u7801\u786e\u5b9e\u6bd4 websocket \u5c11\uff0c\u4f46\u662f\u5355\u5411\u901a\u8baf\u529f\u80fd\u4e5f\u5c11\uff0c\u4e5f\u5b58\u5728\u5404\u79cd\u5c0f\u95ee\u9898\uff08\u6bd4\u5982\u65f6\u95f4\u4e00\u957f\u6ca1\u6570\u636e\u6d41\u53d1\u9001\uff0c\u88ab\u5404\u79cd\u624b\u673a\u6d4f\u89c8\u5668\uff0c\u76f4\u63a5\u5f53\u6210\u6b7b\u94fe\u63a5\u7ed9\u6390\u6389\uff09\u3002<\/p>\n<p>\u73b0\u5728\u903b\u8f91\u591a\u4e86\uff0c\u4ea4\u4e92\u73af\u8282\u591a\u4e86\uff0c\u8fd8\u662f websocket \u53cc\u5411\u901a\u8baf\u9999\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753889\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whytheluckystiff \u8fd9\u4e2a\u6211\u77e5\u9053\u7684\u3002GitHub \u90a3\u4e2a\u786e\u5b9e\u731b\u3002\u6211\u4e5f\u731c\u6709\u4e00\u4e2a\u5927\u96c6\u7fa4\u5728\u63d0\u4f9b\u8fd9\u4e2a\u670d\u52a1\u3002\u4e0d\u8fc7\u6211\u89c9\u5f97 GitHub \u90a3\u4e2a\uff0c\u4f3c\u4e4e\u6211\u8bf4\u7684\u8fd9\u4e2a\u65b9\u6848\u66f4\u5408\u9002\u3002\u56e0\u4e3a GitHub \u8fd8\u6709 cli \u53ef\u4ee5\u7528\u6765\u53d1 issue \u548c pr \u4e4b\u7c7b\u7684\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u53ef\u4ee5\u5171\u7528 HTTP API \u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753890\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @3dwelcome \u6709 ping \u554a\u3002\u6211\u4e00\u822c\u90fd\u8bbe\u5b9a\u4e09\u79d2\u53d1\u4e00\u6b21 ping \u6d88\u606f\u3002\u4e0d\u4f1a\u88ab\u6390\u65ad\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753891\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @3dwelcome \u4e0d\u8fc7\u786e\u5b9e\uff0c\u5408\u9002\u7684\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u6280\u672f\u3002\u4ea4\u4e92\u73af\u8282\u591a\uff0c\u7528 WebSocket \u4e5f\u633a\u597d\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753892\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhengxiaowai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abersheeran \u611f\u89c9\u662f Serverless \u8fd9\u79cd\u5f00\u53d1\u6a21\u5f0f\u7684\u95ee\u9898\uff0cServerless \u5355\u7eaf\u7684\u5f00\u53d1 HTTP \u786e\u5b9e\u65b9\u4fbf\u4e00\u4e9b\u3002<\/p>\n<p>\u5c31\u76ee\u524d\u800c\u8a00 WebSocket \u5e94\u8be5\u8fd8\u662f\u4e3b\u6d41\u7684\u53cc\u5411\u901a\u4fe1\u7684\u65b9\u5411\uff0c\u81f3\u5c11\u5728 H2 \u672a\u666e\u53ca\u4e4b\u524d\u5e94\u8be5\u662f\u7684\u3002<\/p>\n<p>\u5176\u4ed6\u5927\u5382\u4e0d\u77e5\u9053\uff0c\u4f30\u8ba1\u6709\u5386\u53f2\u539f\u56e0\uff0c\u76ee\u524d\u5b57\u8282\u90fd\u662f\u57fa\u4e8e WebSocket \u6765\u505a\u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753893\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhengxiaowai \u7684\u786e\u3002\u5355\u662f\u6d4f\u89c8\u5668\u8fde\u63a5\u6570\u9650\u5236\u5c31\u53ef\u4ee5\u628a SSE \u8e22\u51fa\u573a\u4e86\u3002\u54c8\u54c8\u54c8\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753894\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhengxiaowai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abersheeran \u53e6\u5916\u6211\u8bb0\u5f97 sse \u8fd8\u9700\u8981\u9ad8\u7248\u672c\u6d4f\u89c8\u5668\u652f\u6301\uff0c\u8fd9\u70b9\u5c31\u65e0\u89e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753895\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhengxiaowai \u6211\u770b MDN \u4e0a\u63d0\u4f9b\u7684\u517c\u5bb9\u6027\u8bf4\u660e\u4e0a\uff0c\u4e3b\u6d41\u6d4f\u89c8\u5668\u4e0d\u90fd\u652f\u6301\u8fd9\u4e2a\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kastnerorz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             SSE \u4e00\u4e2a\u6d4f\u89c8\u5668\u53ea\u80fd\u6253\u5f00 6 \u4e2a\uff0c\u53ef\u80fd\u6709\u5f88\u591a\u9009\u578b\u7684\u65f6\u5019\u89c9\u5f97\u8fd9\u4e2a\u4e0d\u80fd\u5bb9\u5fcd\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whytheluckystiff <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abersheeran CLI \u7528\u6237\u91cf\u548c\u4e4b\u524d\u7684 Hub \u76f8\u5dee\u65e0\u51e0\uff0cWebUI \u7684\u4f7f\u7528\u6570\u91cf\u4e0d\u77e5\u9053\u6bd4 CLI \u9ad8\u5230\u54ea\u91cc\u53bb\u4e86. \u4f60\u770b\u4e00\u4e0b\u56fd\u5185\u7684 Gitee \u6216\u81ea\u6258\u7ba1 GitLab\uff0c\u5168\u90fd\u662f AJAX \u77ed\u8f6e\u8be2\uff0c\u4ed6\u4eec\u4e0d\u7528 WebSocket \u4e5f\u4e0d\u7528 SSE. SSE \u8fd9\u4e1c\u897f\u6211\u4e4b\u524d\u4e5f\u53ea\u542c\u8bf4\u8fc7\uff0c\u4e5f\u4ece\u6765\u6ca1\u6709\u89c1\u8c01\u7528\u8fc7\u3002\u6709\u4f8b\u5b50\u4e48\uff1f\u6216\u8005 demo \u4ec0\u4e48\u7684.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kastnerorz \u662f\u7684\u3002HTTP2 \u6ca1\u666e\u53ca\u4e4b\u524d\uff0c\u786c\u4f24\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhengxiaowai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abersheeran \u6ca1\u770b\u89c1\u5927\u5927\u7684 IE No \u4e48 \ud83d\ude42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753900\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whytheluckystiff <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kastnerorz \u5bf9\u3002\u6211\u8bb0\u5f97 Safari \u80fd\u540c\u65f6\u8fde\u63a5 1200 \u591a\u4e2a WebSocket \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753901\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : catchexception <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u8fd8\u4ee5\u4e3a\u4e3b\u53d1\u660e\u4e86\u65b0\u7684\u534f\u8bae\uff01\u4e0d\u8fc7\u5206\u4eab\u51fa\u6765\u7ed9\u5927\u5bb6\u770b\u770b\u4e5f\u662f\u503c\u5f97\u80af\u5b9a\u7684\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753902\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : deviluser <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @catchexception \u6211\u4e5f\u4ee5\u4e3a\u8981\u8ba8\u8bba\u70b9\u4e0d\u8ba9\u64ad\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753903\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             SSE \u662f S-&gt;B \u7684\u5355\u5de5\u2026\u2026<br \/>\u5403\u8fc7\u4e00\u4e2a\u5927\u5751\uff0c\u5c31\u662f POST \u5730\u5740\u548c SSE \u5730\u5740\u4e0d\u80fd\u4e00\u6837<br \/>\u5f53\u65f6\u968f\u624b\u5199\u4e86\u4e2a\u533f\u540d\u804a\u5929\u5ba4\uff0c\u6211 SSE \u662f GET \/api\/messages \u7136\u540e\u53d1\u6d88\u606f\u662f POST \/api\/messages<br \/>\u7ed3\u679c\u4e00 POST\uff0cSSE \u5c31\u65ad\u4e86\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753904\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whytheluckystiff \u516c\u53f8\u4f8b\u5b50\u6211\u4e0d\u6e05\u695a\u3002demo \u6211\u5012\u662f\u5199\u8fc7\u3002<\/p>\n<p>@zhengxiaowai \u54c8\u54c8\u54c8\uff0cIE \u88ab\u6211\u81ea\u52a8\u65e0\u89c6\u4e86\u3002<\/p>\n<p>@no1xsyzy \u662f\u554a\uff0cB-&gt;S \u8fd9\u4e2a\u76f4\u63a5 HTTP \u5c31\u597d\u4e86\uff0cS-&gt;B \u8d70 SSE \u3002\u8fd9\u4e0d\u5c31\u662f\u4f2a\u53cc\u5de5\u4e86\u5417\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753905\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhengxiaowai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abersheeran \u6bd5\u7adf IE 11 \u8fd8\u7b97\u662f\u4e2a\u4eba\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5753906\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhengxiaowai \u5fae\u8f6f\u90fd\u5728\u63a8 Edge\uff0c\u6211\u89c9\u5f97 IE \u5df2\u7ecf\u4e0d\u7b97\u4e86\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u79cd\u57fa\u4e8e HTTP \u7684\u4f2a\u53cc\u5de5\u901a\u4fe1 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/439170"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=439170"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/439170\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=439170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=439170"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=439170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}