Skip to 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(FString NewValue)Sets the value of Ip.

Members

public FString Ip

IP that sent the request.


#### `public virtual bool `[`FromJson`](#structFRHAPI__ConnectionInfo_1a8163d13a92ed5ca0a8292e3269a5b7d1)`(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`](#structFRHAPI__ConnectionInfo_1a194e39da068ff951effe98a6b0a36a56)`(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`](#structFRHAPI__ConnectionInfo_1a35cdcfa371719695f1ad4fe00c86db75)`()`

Gets the value of Ip.


#### `public inline const FString & `[`GetIp`](#structFRHAPI__ConnectionInfo_1add13d7706711b691a3dbf9bbd504a749)`() const`

Gets the value of Ip.


#### `public inline void `[`SetIp`](#structFRHAPI__ConnectionInfo_1ab2a203deb1501471c2ff86bcfd6ae3b3)`(FString NewValue)`

Sets the value of Ip.