GetWebResponsePacket (Opus Funktion)
Beschreibung¶
Gibt den angeforderten Inhalt zurück.
Assembles the individual components of an HTTP response into a raw packet blob.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
Headers | [string] | list of raw header lines to include in the response |
Keys | [string] | list of header field names (key–value pairs) |
Values | [string] | list of header field values corresponding to Keys |
Protocol | HTTP protocol version string (e.g. "HTTP/1.1") | |
ErrorCode | HTTP status code (e.g. "200", "404") | |
ErrorText | HTTP status text (e.g. "OK", "Not Found") | |
Data | response body content as a blob |
Rückgabewert blob¶
the assembled raw HTTP response packet
Beispiel¶
|
|---|