Stream Chat Unreal SDK
Loading...
Searching...
No Matches
FChatSocketEvents Class Referencefinal

Encapsulates subscribing and unsubscribing to and from Stream Chat WebSocket events. More...

#include <ChatSocketEvents.h>

Public Member Functions

template<class TEvent >
FDelegateHandle Subscribe (TEventDelegate< TEvent > Callback)
 Subscribe to a WebSocket event using your own delegate object.
 
template<class TEvent , class UserClass >
FDelegateHandle SubscribeUObject (UserClass *Obj, TEventDelegateUObjectMethodPtr< TEvent, UserClass > Method)
 Subscribe to a WebSocket event using a UObject-based member function delegate.
 
template<class TEvent , class UserClass >
FDelegateHandle SubscribeSp (UserClass *Obj, TEventDelegateSpMethodPtr< TEvent, UserClass > Method)
 Subscribe to a WebSocket event using a shared pointer-based (fast, not thread-safe) member function delegate.
 
template<class TEvent , typename FunctorType , typename... VarTypes>
FDelegateHandle SubscribeLambda (FunctorType &&InFunctor, VarTypes... Vars)
 Subscribe to a WebSocket event using a UObject-based member function delegate.
 
template<class TEvent >
bool Unsubscribe (FDelegateHandle)
 
STREAMCHATWEBSOCKET_API int32 UnsubscribeAll (UObject *Object)
 

Friends

class FChatSocket
 

Detailed Description

Encapsulates subscribing and unsubscribing to and from Stream Chat WebSocket events.


The documentation for this class was generated from the following files: