Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

api / api websocket fragment contract

An agent that reconstructs websocket messages needs normalized fragment boundaries and interleaved control frames reconciled with claimed message lengths.

POST https://detect.halowerk.com/v1/api/api-websocket-fragment-contract

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "frames": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "opcode": {
                "type": "integer",
                "minimum": 0,
                "maximum": 15
              },
              "fin": {
                "type": "boolean"
              },
              "bytes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1048576
              },
              "masked": {
                "type": "boolean"
              }
            },
            "required": [
              "opcode",
              "fin",
              "bytes",
              "masked"
            ],
            "additionalProperties": false
          },
          "maxItems": 1024,
          "minItems": 0
        },
        "client_to_server": {
          "type": "boolean"
        },
        "claimed_messages": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1048576
          },
          "maxItems": 1024,
          "minItems": 0
        }
      },
      "required": [
        "frames",
        "client_to_server",
        "claimed_messages"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "frames": [
      {
        "opcode": 1,
        "fin": true,
        "bytes": 3,
        "masked": true
      }
    ],
    "client_to_server": true,
    "claimed_messages": [
      3
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →