The method name for the outbound message. Outbound method names do not append to route methods.
Optional
lazyLoading: booleanIndicates if the outbound message should be lazily loaded by clients.
Optional
resendAfterAuthenticationChange: booleanIndicates if the outbound message should be resent after authentication changes.
Method annotation:
class Example {
@Outbound("d.example")
async getData(connection: WebsocketConnection): Promise<any> {
return [...];
}
}
Generated using TypeDoc
Outbound decorator for WebSocket outbound messages. This annotation can be used for methods only.
Supported Decorators:
@Auth
@Subscribe
and@SubscribeFor
@ResendAfterAuthenticationChange
@LazyLoading
@SupportsCache
@PartialUpdates