Skip to content

Commit 3d5e576

Browse files
authored
Fix
1 parent 78c483f commit 3d5e576

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

articles/azure-web-pubsub/socketio-serverless-function-binding.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ app.http('negotiate', {
142142
| connection | The name of the app setting that contains the Socket.IO connection string (defaults to `WebPubSubForSocketIOConnectionString`). |
143143
| userId | The userId of the connection. It applies to all sockets in the connection. It becomes the `sub` claim in the generated token. |
144144

145-
---
146-
147145
# [Python Model v2](#tab/python-v2)
148146

149147
A function always needs a trigger binding. We use HttpTrigger as an example in codes.
@@ -354,8 +352,6 @@ app.generic('newMessage', {
354352
| 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. |
355353
| 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>`. |
356354

357-
---
358-
359355
# [Python Model v2](#tab/python-v2)
360356

361357
Function triggers for socket connect event.
@@ -591,8 +587,6 @@ app.generic('newMessage', {
591587
| hub | The hub name that a client needs to connect to. |
592588
| connection | The name of the app setting that contains the Socket.IO connection string (defaults to `WebPubSubForSocketIOConnectionString`). |
593589

594-
---
595-
596590
# [Python Model v2](#tab/python-v2)
597591

598592
A function always needs a trigger binding. We use TimerTrigger as an example in codes.

0 commit comments

Comments
 (0)