queryContentLength

queryContentLength(): Integer;

The queryContentLength method of the JadeHTTPConnection class returns the value provided by the Content‑Length header, which contains the length of the response message in bytes. The Content-Length header is optional for messages. If it is not present, queryContentLength returns zero (0). This can occur when the message body length is greater than zero (0).