id: thttpresponse title: THttpResponse
An HTTP Response.
Represents the response received from an HTTP request, including status code, headers, and body content.
Method IsSuccess:Int()Returns whether the HTTP request was successful.
Method AsString:String()Returns the response body as a string, assuming UTF-8 encoding.
Method AsBytes:Byte[](copy:Int = True)Returns the response body as a byte array.
If copy is False, the original data is returned, rather than a copy.
Method ErrorMessage:String()Returns the error message for the HTTP request.