Skip to main content

RHAPI_ConnectionInfo

Summary​

MembersDescriptions
struct FRHAPI_ConnectionInfoConnection info about the requesting client.

struct FRHAPI_ConnectionInfo ​

struct FRHAPI_ConnectionInfo
: public FRHAPI_Model

Connection info about the requesting client.

Summary​

MembersDescriptions
public FString IpIP that sent the request.
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)Fills this object with data from the passed in JSON.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) constWrites the data from this object into the specified JSON Writer stream.
public inline FString & GetIp()Gets the value of Ip.
public inline const FString & GetIp() constGets the value of Ip.
public inline void SetIp(const FString & NewValue)Sets the value of Ip.
public inline void SetIp(FString && NewValue)Sets the value of Ip using move semantics.

Members​

public FString Ip ​

IP that sent the request.

public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue) ​

Fills this object with data from the passed in JSON.

Parameters​

  • JsonValue Data from the API call.

Returns​

true if parsing of the JSON data was successful.

public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) const ​

Writes the data from this object into the specified JSON Writer stream.

Parameters​

  • Writer JSON Writer stream to push .

public inline FString & GetIp() ​

Gets the value of Ip.

public inline const FString & GetIp() const ​

Gets the value of Ip.

public inline void SetIp(const FString & NewValue) ​

Sets the value of Ip.

public inline void SetIp(FString && NewValue) ​

Sets the value of Ip using move semantics.