/// <summary> /// Gets javascript proxy for all services. /// </summary> public HttpResponseMessage GetAll() { var script = ScriptProxyManager.GetAllScript(); var response = Request.CreateResponse(System.Net.HttpStatusCode.OK, script, new PlainTextFormatter()); response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-javascript"); return(response); }
public ServiceProxiesController(ScriptProxyManager scriptProxyManager) { _scriptProxyManager = scriptProxyManager; }
public AbpServiceProxiesController(ScriptProxyManager scriptProxyManager, IJavaScriptMinifier javaScriptMinifier) { _scriptProxyManager = scriptProxyManager; _javaScriptMinifier = javaScriptMinifier; }