MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / MessageType

Class MessageType

backend/app/services/enhanced_websocket.py:14–40  ·  view source on GitHub ↗

WebSocket message types.

Source from the content-addressed store, hash-verified

12
13
14class MessageType(str, Enum):
15 """WebSocket message types."""
16 # Core messages
17 CONNECTION = "connection"
18 CHAT = "chat"
19 RESPONSE = "response"
20
21 # Progress updates
22 SCRAPING_PROGRESS = "scraping_progress"
23 EXECUTION_UPDATE = "execution_update"
24
25 # Suggestions and AI
26 SUGGESTION = "suggestion"
27 PATTERN_DETECTED = "pattern_detected"
28 OPTIMIZATION_SUGGESTED = "optimization_suggested"
29
30 # Collaboration
31 USER_JOINED = "user_joined"
32 USER_LEFT = "user_left"
33 PIPELINE_UPDATED = "pipeline_updated"
34
35 # System
36 ERROR = "error"
37 WARNING = "warning"
38 INFO = "info"
39 PING = "ping"
40 PONG = "pong"
41
42
43class StreamingResponse:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected