C# 클래스 NodeNetAsync.Yui.NodeNetJsFilter

Adds support for automatical JS minimizing and serving combined JS files. Minification is done using YUI compressor with IKVM. For .js files : It will minimize JS files before serving them. For .jsx files: It will read all the lines (that will be references to .js files) from the JSX and will combine and minimize them. Trying to access a .jsx file will cause a 404 error. To reference a .jsx file you should reference to a file with the same name and path and the extension changed to .js
상속: IHttpStaticFilter
파일 보기 프로젝트 열기: soywiz/NodeNetAsync

공개 메소드들

메소드 설명
NodeNetJsFilter ( bool Compressing = true ) : System

보호된 메소드들

메소드 설명
JsHandler ( HttpStaticFileServer Parameter ) : Task

JsxHandler ( HttpStaticFileServer Parameter ) : Task

Trying to access the JSX file directly will cause a 404 error to avoid accessing the list of files.

비공개 메소드들

메소드 설명
IHttpStaticFilter ( HttpStaticFileServer HttpStaticFileServer ) : void

메소드 상세

JsHandler() 보호된 메소드

protected JsHandler ( HttpStaticFileServer Parameter ) : Task
Parameter NodeNetAsync.Net.Http.Static.HttpStaticFileServer
리턴 Task

JsxHandler() 보호된 메소드

Trying to access the JSX file directly will cause a 404 error to avoid accessing the list of files.
protected JsxHandler ( HttpStaticFileServer Parameter ) : Task
Parameter NodeNetAsync.Net.Http.Static.HttpStaticFileServer
리턴 Task

NodeNetJsFilter() 공개 메소드

public NodeNetJsFilter ( bool Compressing = true ) : System
Compressing bool
리턴 System