You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/socketio-serverless-function-binding.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,8 +142,6 @@ app.http('negotiate', {
142
142
| connection | The name of the app setting that contains the Socket.IO connection string (defaults to `WebPubSubForSocketIOConnectionString`). |
143
143
| userId | The userId of the connection. It applies to all sockets in the connection. It becomes the `sub` claim in the generated token. |
144
144
145
-
---
146
-
147
145
# [Python Model v2](#tab/python-v2)
148
146
149
147
A function always needs a trigger binding. We use HttpTrigger as an example in codes.
@@ -354,8 +352,6 @@ app.generic('newMessage', {
354
352
| eventName | The event name that the function triggers for. Some event names are predefined: `connect` for socket connect event. `connected` for socket connected event. `disconnected` for socket disconnected event. And other events are defined by user and it need to match the event name sent by client side. |
355
353
| ParameterNames | The parameter name list of the event. The length of list should be consistent with event sent from client. And the name uses the [Binding expressions](../azure-functions/functions-bindings-expressions-patterns.md) and access by `context.bindings.<name>`. |
356
354
357
-
---
358
-
359
355
# [Python Model v2](#tab/python-v2)
360
356
361
357
Function triggers for socket connect event.
@@ -591,8 +587,6 @@ app.generic('newMessage', {
591
587
| hub | The hub name that a client needs to connect to. |
592
588
| connection | The name of the app setting that contains the Socket.IO connection string (defaults to `WebPubSubForSocketIOConnectionString`). |
593
589
594
-
---
595
-
596
590
# [Python Model v2](#tab/python-v2)
597
591
598
592
A function always needs a trigger binding. We use TimerTrigger as an example in codes.
0 commit comments