getContentLength method
Gets the content length from headers
Implementation
int? getContentLength() {
final lengthStr = getHeader(StompHeaders.contentLength);
if (lengthStr == null) return null;
return int.tryParse(lengthStr);
}
Gets the content length from headers
int? getContentLength() {
final lengthStr = getHeader(StompHeaders.contentLength);
if (lengthStr == null) return null;
return int.tryParse(lengthStr);
}