36 UFUNCTION(BlueprintCallable, Category =
"WebSocket")
45 UFUNCTION(BlueprintCallable, Category = "WebSocket")
54 UFUNCTION(BlueprintCallable, Category = "WebSocket")
63 UFUNCTION(BlueprintPure, Category = "WebSocket")
64 bool IsConnected() const;
66 virtual
void Initialize(FSubsystemCollectionBase& Collection) override;
67 virtual
void Deinitialize() override;
70 void OnConnected_Native();
74 void OnConnectionError_Native(const FString& InErrorMessage);
80 void OnClosed_Native(int32 StatusCode, const FString& Reason,
bool bWasClean);
84 void OnMessage_Native(const FString& InMessage);
90 void OnBinaryMessage_Native(const
void* Data, SIZE_T Size,
bool bIsLastFragment);
93 TSharedPtr<IWebSocket> WebSocket;
96 bool bIsExpectingAudio = false;
100 static
void LogNetwork(const FString& Message);