Adding Status and Last server response handled but not tested
This commit is contained in:
@ -52,18 +52,12 @@ class DTFLUXNETWORK_API FDTFluxWebSocketClient : public TSharedFromThis<FDTFluxW
|
||||
public:
|
||||
|
||||
FDTFluxWebSocketClient();
|
||||
|
||||
bool CanSend() const;
|
||||
|
||||
|
||||
static TSharedPtr<FDTFluxWebSocketClient> GetClient(const TArray<TSharedPtr<FDTFluxWebSocketClient>> InClients, const FName InName)
|
||||
{
|
||||
for(auto Client: InClients)
|
||||
{
|
||||
if(Client->ClientId == InName)
|
||||
{
|
||||
return Client;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
static TSharedPtr<FDTFluxWebSocketClient> GetClient(const TArray<TSharedPtr<FDTFluxWebSocketClient>> InClients, const FName InName);
|
||||
|
||||
|
||||
void Connect();
|
||||
void Reconnect();
|
||||
|
||||
Reference in New Issue
Block a user