RHAPI_ConnectionInfo
Summary
Members | Descriptions |
---|---|
struct FRHAPI_ConnectionInfo | Connection info about the requesting client. |
struct FRHAPI_ConnectionInfo
struct FRHAPI_ConnectionInfo
: public FRHAPI_Model
Connection info about the requesting client.
Summary
Members | Descriptions |
---|---|
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. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes 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 () const | Gets 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
(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
(FString NewValue)
Sets the value of Ip.