[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eThis content covers the use of WebSockets with both Apigee and Apigee hybrid platforms, explaining their native support for both HTTP and WS protocols within environment groups.\u003c/p\u003e\n"],["\u003cp\u003eApigee supports WebSockets through an upgrade request from HTTP to WS initiated by the client, resulting in a \u003ccode\u003e101 Switching Protocols\u003c/code\u003e response, and the subsequent establishment of a bidirectional connection.\u003c/p\u003e\n"],["\u003cp\u003ePolicies within a web socket proxy will function until the initial handshake is completed, and after the handshake no further policies will be executed, but existing OAuth tokens are still validated.\u003c/p\u003e\n"],["\u003cp\u003eWebSockets connections in Apigee can be terminated if requests lack valid API keys or OAuth tokens, if the provided tokens are invalid or expired, or due to connection timeouts.\u003c/p\u003e\n"],["\u003cp\u003eThe Apigee Debug tool will display each WebSockets connection as a single request with a \u003ccode\u003e101 Status\u003c/code\u003e, while the analytics dashboard will count each WebSockets session but will not display the traffic sent back and forth during the connection.\u003c/p\u003e\n"]]],[],null,[]]