Skip to content

Commit 365ca8d

Browse files
authored
update
1 parent e8c4849 commit 365ca8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-functions/functions-bindings-signalr-service-input.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static SignalRConnectionInfo Negotiate(
4040

4141
# [Isolated process](#tab/isolated-process)
4242

43-
The following example shows a SignalR trigger that reads a message string from one hub using a SignalR trigger and writes it to a second hub using an output binding. The data required to connect to the output binding is obtained as a `MyConnectionInfo` object from an input binding defined using a `SignalRConnectionInfo` attribute.
43+
The following example shows a [C# function](dotnet-isolated-process-guide.md) that acquires SignalR connection information using the input binding and returns it over HTTP.
4444

4545
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/SignalR/SignalRNegotiationFunctions.cs" id="snippet_negotiate":::
4646

@@ -158,7 +158,7 @@ App Service authentication sets HTTP headers named `x-ms-client-principal-id` an
158158

159159
# [In-process](#tab/in-process)
160160

161-
You can set the `UserId` property of the binding to the value from either header using a [binding expression](./functions-bindings-expressions-patterns.md): `{headers.x-ms-client-principal-id}` or `{headers.x-ms-client-principal-name}`.
161+
You can set the `UserId` property of the binding to the value from either header using a [binding expression](#binding-expressions-for-http-trigger): `{headers.x-ms-client-principal-id}` or `{headers.x-ms-client-principal-name}`.
162162

163163
```cs
164164
[FunctionName("negotiate")]
@@ -187,7 +187,7 @@ public static string Negotiate([HttpTrigger(AuthorizationLevel.Anonymous)] HttpR
187187

188188
# [C# Script](#tab/csharp-script)
189189

190-
You can set the `userId` property of the binding to the value from either header using a [binding expression](./functions-bindings-expressions-patterns.md): `{headers.x-ms-client-principal-id}` or `{headers.x-ms-client-principal-name}`.
190+
You can set the `userId` property of the binding to the value from either header using a [binding expression](#binding-expressions-for-http-trigger): `{headers.x-ms-client-principal-id}` or `{headers.x-ms-client-principal-name}`.
191191

192192
Example function.json:
193193

@@ -236,7 +236,7 @@ public SignalRConnectionInfo negotiate(
236236

237237
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-powershell"
238238

239-
You can set the `userId` property of the binding to the value from either header using a [binding expression](./functions-bindings-expressions-patterns.md): `{headers.x-ms-client-principal-id}` or `{headers.x-ms-client-principal-name}`.
239+
You can set the `userId` property of the binding to the value from either header using a [binding expression](#binding-expressions-for-http-trigger): `{headers.x-ms-client-principal-id}` or `{headers.x-ms-client-principal-name}`.
240240

241241
Here's binding data in the *function.json* file:
242242

0 commit comments

Comments
 (0)