Language:
Discover
By Skill Level
By Category

IHttpBase

Choose your OS:

Inheritance Hierarchy

Syntax

class IHttpBase

Remarks

Base interface for Http Requests and Responses.

Destructors

Name Description

Public function Virtual

~IHttpBase()

Destructor for overrides

Functions

Name Description

Public function

TArray < FStr ...

 

GetAllHeaders()

Return all headers in an array in "Name: Value" format.

the header array of strings

Public function

const TArray ...

 

GetContent()

Get the content payload of the request or response.

Public function

int32

 

GetContentLength()

Shortcut to get the Content-Length header value.

Public function

FString

 

GetContentType()

Shortcut to get the Content-Type header value (if available)

the content type.

Public function

FString

 

GetHeader

(
    const FString & HeaderName
)

Gets the value of a header, or empty string if not found.

Public function

FString

 

GetURL()

Get the URL used to send the request.

the URL string.

Public function

FString

 

GetURLParameter

(
    const FString & ParameterName
)

Gets an URL parameter.

References

Module

HTTP

Header

Runtime/Online/HTTP/Public/Interfaces/IHttpBase.h