Microsoft.AspNetCore.SignalR.Hubs.EmptyJavaScriptProxyGenerator.GenerateProxy C# (CSharp) Method

GenerateProxy() public method

public GenerateProxy ( string serviceUrl ) : string
serviceUrl string
return string
        public string GenerateProxy(string serviceUrl)
        {
            return String.Format(CultureInfo.InvariantCulture, "throw new Error('{0}');", Resources.Error_JavaScriptProxyDisabled);
        }
    }
EmptyJavaScriptProxyGenerator