Navigation
API > API/Runtime > API/Runtime/MessagingCommon > API/Runtime/MessagingCommon/FMessageEndpointBuilder
Description
Registers a message handler with the endpoint.
It is legal to configure multiple handlers for the same message type. Each handler will be executed when a message of the specified type is received.
| Name | WithHandler |
| Type | function |
| Header File | /Engine/Source/Runtime/MessagingCommon/Public/MessageEndpointBuilder.h |
| Include Path | #include "MessageEndpointBuilder.h" |
FMessageEndpointBuilder & WithHandler
(
const TSharedRef < IMessageHandler, ESPMode::ThreadSafe > & Handler
)
This instance (for method chaining).
Parameters
| Name | Remarks |
|---|---|
| Handler | The handler to add. |
See Also
-
Handling
-
WithCatchall