Navigation
API > API/Plugins > API/Plugins/MQTTCore
Mqtt[s]://[username][:password]@host.domain[:port]
| Name | FMQTTURL |
| Type | struct |
| Header File | /Engine/Plugins/Protocols/MQTT/Source/MQTTCore/Public/MQTTShared.h |
| Include Path | #include "MQTTShared.h" |
Syntax
USTRUCT (BlueprintType )
struct FMQTTURL
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMQTTURL () |
MQTTShared.h | ||
FMQTTURL
(
const FString& InHost, |
Construct from components. | MQTTShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Host | FString | MQTTShared.h |
|
|
| Password | FString | MQTTShared.h |
|
|
| Port | int32 | Default port is 1883 for MQTT scheme, 8883 for MQTTS. | MQTTShared.h |
|
| Scheme | EMQTTScheme | MQTTShared.h |
|
|
| Username | FString | MQTTShared.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetAddress
(
ISocketSubsystem* InSocketSubsystem, |
MQTTShared.h | ||
bool IsValid () |
Gets the validity of the URL. | MQTTShared.h | |
| Gets the validity of the URL with message. | MQTTShared.h | ||
void SetInvalid() |
Flags this URL as invalid. | MQTTShared.h | |
FGuid ToGuid() |
Deterministic FGuid based on the URL. | MQTTShared.h | |
FString ToString() |
Get the URL as a string. | MQTTShared.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Parses the input string. | MQTTShared.h |