MCPcopy Create free account
hub / github.com/abi/screenshot-to-code / accept

Method accept

backend/routes/generate_code.py:164–167  ·  view source on GitHub ↗

Accept the WebSocket connection

(self)

Source from the content-addressed store, hash-verified

162 self.is_closed = False
163
164 async def accept(self) -> None:
165 """Accept the WebSocket connection"""
166 await self.websocket.accept()
167 print("Incoming websocket connection...")
168
169 async def send_message(
170 self,

Callers 1

processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected