Browse Source
Hub routes are kebab-case by default.
pull/10207/head
Halil İbrahim Kalkan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/en/SignalR-Integration.md
|
|
@ -118,7 +118,7 @@ public class MessagingHub : Hub |
|
|
The hub route will be `/signalr-hubs/messaging` for the `MessagingHub`: |
|
|
The hub route will be `/signalr-hubs/messaging` for the `MessagingHub`: |
|
|
|
|
|
|
|
|
* Adding a standard `/signalr-hubs/` prefix |
|
|
* Adding a standard `/signalr-hubs/` prefix |
|
|
* Continue with the **camel case** hub name, without the `Hub` suffix. |
|
|
* Continue with the **kebab-case** hub name, without the `Hub` suffix. |
|
|
|
|
|
|
|
|
If you want to specify the route, you can use the `HubRoute` attribute: |
|
|
If you want to specify the route, you can use the `HubRoute` attribute: |
|
|
|
|
|
|
|
|
|