Share via


SignalRUpstreamTemplate.UrlTemplate Property

Definition

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