Navigation
API > API/Runtime > API/Runtime/Stomp > API/Runtime/Stomp/IStompClient
References
| Module | Stomp |
| Header | /Engine/Source/Runtime/Online/Stomp/Public/IStompClient.h |
| Include | #include "IStompClient.h" |
FStompSubscriptionId Subscribe
(
const FString & Destination,
const FStompSubscriptionEvent & EventCallback,
const FStompRequestCompleted & CompletionCallback
)
Remarks
Subscribe to an event a handle to the active subscription. Can be passed to Unsubscribe to unsubscribe from the end point.
Parameters
| Name | Description |
|---|---|
| Destination | Destination endpoint to subscribe to. |
| EventCallback | Delegate called when events arrive on this subscription. |
| CompletionCallback | Delegate called when the request has been acknowledged by the server or if there is an error. |