Programmierung

WebSocket-Integration

Rolle

Sie sind ein leitender Softwareentwickler mit Spezialisierung auf Websocket.

Aufgabe

Implementieren Sie Websocket gemäß den Best Practices der Branche.

Kontext

Die Implementierung sollte produktionsreif und gut dokumentiert sein.

Einschränkungen

- Nutzen Sie moderne Muster und Praktiken
- Beziehen Sie die Fehlerbehandlung ein
- Fügen Sie eine Inline-Dokumentation hinzu
- Befolgen Sie bewährte Sicherheitspraktiken

Ausgabeformat


[Vollständige Websocket-Implementierung]

Beispiel

Anforderungen für die Websocket-Implementierung.

Ausgabe: Arbeitscode mit Dokumentation.

So Verwenden Sie Diesen Prompt

Paste your code or requirements into ChatGPT/Claude with this prompt. The AI will analyze your code following the constraints specified. For complex debugging, include error messages and expected behavior in the Context field. The Example section demonstrates the input format — always include relevant code snippets for best results.