Skip to content

Commit 56f4f93

Browse files
committed
WS mixins
1 parent 52c5d60 commit 56f4f93

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ Websocket client connection happens as follows for exposed endpoints:
255255
Non-websocket services can contain events and operations that are exposed or accessible as websocket events
256256
via the concept of mixin websocket services. Mixin event and operations need to be annotated with `@websocket` or `@ws`.
257257

258+
**Hint:**
259+
260+
> Non-websocket service events and operations are only active when at least one websocket-enabled service is available
261+
> (i.e., websocket protocol adapter is active).
262+
258263
##### Event Mixin
259264

260265
Websocket services can contain events that are exposed as websocket events. Emitting an event on the service,
@@ -307,11 +312,6 @@ The specified event path must match the service path of another websocket-enable
307312
not processed. In addition, the websocket format can be specified on service or event level via `@websocket.format` or `@ws.format`
308313
annotation for websocket events of non-websocket services.
309314

310-
**Hint:**
311-
312-
> Non-websocket service events are only active when at least one websocket-enabled service is available
313-
> (i.e., websocket protocol adapter is active).
314-
315315
##### Operation Mixin
316316

317317
Websocket services can contain (unbound) operations (action, function) that are accessible via websocket events.
@@ -356,11 +356,6 @@ The specified operation path must match the service path of another websocket-en
356356
not processed. In addition, the websocket format can be specified on service or operation level via `@websocket.format` or `@ws.format`
357357
annotation for websocket operations of non-websocket services.
358358

359-
**Hint:**
360-
361-
> Non-websocket service operations are only active when at least one websocket-enabled service is available
362-
> (i.e., websocket protocol adapter is active).
363-
364359
### Server Socket
365360

366361
Each CDS handler request context is extended to hold the current server `socket` instance of the event.

0 commit comments

Comments
 (0)