本記事では、Claude Code(AIコーディングアシスタント)から Figma を操作するツール Bridgeのアーキテクチャを題材に、HTTP と WebSocket の違い、そして「なぜ WebSocket でなければならないのか」を解説します。 Bridgeは、AIが生成したコードを Figma Plugin API 経由で ...
# base.py import asyncio from fastapi import APIRouter, WebSocket from chat_service import streaming router = APIRouter() async def main(websocket): task = asyncio ...
I’ve built a small Python library for action-driven WebSocket communication. The idea is to make backend WebSocket code more organised when a project grows beyond “receive JSON and manually route it ...
Common causes: CORS misconfiguration (the server does not include the right Access-Control headers), proxy not supporting the Upgrade header (older HTTP/1.0 proxies), authentication failure during the ...
MCP channel server that enables multiple Claude Code instances to chat with each other in real time via a central WebSocket broker. Read the full writeup: Distributed Claude Code Agents: Collaboration ...
🤔 Node.js Interview Question That Trips Up Even Senior Devs Ever seen this code when setting up WebSockets and wondered why we need HTTP for a WebSocket connection? 🧩 The Interview Question: "Why do ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する