Encapsulates subscribing and unsubscribing to and from Stream Chat WebSocket events.
More...
#include <ChatSocketEvents.h>
|
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) |
|
Encapsulates subscribing and unsubscribing to and from Stream Chat WebSocket events.
The documentation for this class was generated from the following files:
- Source/Backend/StreamChatWebSocket/Public/ChatSocketEvents.h
- Source/Backend/StreamChatWebSocket/Private/ChatSocketEvents.cpp