from fastapi import FastAPI, WebSocket from fastapi.responses import ... </ul> <script> var ws = new WebSocket("ws://localhost:8000/ws"); ws.onmessage ...
確定! 回上一頁