FHttpRequestAdapterBase::GetContentLength

Shortcut to get the Content-Length header value.

Windows
MacOS
Linux

Override Hierarchy

IHttpBase::GetContentLength()

FHttpRequestAdapterBase::GetContentLength()

References

Module

HTTP

Header

/Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h

Include

#include "HttpRequestAdapter.h"

Syntax

virtual int32 GetContentLength() const

Remarks

Shortcut to get the Content-Length header value. Will not always return non-zero. If you want the real length of the payload, get the payload and check it's length.

Returns

the content length (if available)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss