SignalRUpstreamTemplate.UrlTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.
For example, if the urlTemplate is http://example.com/{hub}/api/{event}
, with a client request from hub chat
connects, it will first POST to this URL: http://example.com/chat/api/connect
.
public string UrlTemplate { get; set; }
member this.UrlTemplate : string with get, set
Public Property UrlTemplate As String
Property Value
Applies to
Azure SDK for .NET