C# 클래스 Woopsa.RouteHandlerEmbeddedResources

상속: IHTTPRouteHandler
파일 보기 프로젝트 열기: woopsa-protocol/Woopsa

공개 메소드들

메소드 설명
HandleRequest ( HTTPRequest request, HTTPResponse response ) : void
RouteHandlerEmbeddedResources ( string resourcePathInAssembly = "", Assembly assembly = null ) : System

비공개 메소드들

메소드 설명
AssemblyByName ( string name ) : Assembly
FullResourceName ( Assembly assembly, string strippedResourceName ) : string
ResourcePath ( string urlPath ) : string
RespondResource ( HTTPResponse response, Assembly assembly, string subRoute ) : void
ServeEmbeddedResource ( HTTPResponse response, Assembly assembly, string strippedResourceName ) : bool

메소드 상세

HandleRequest() 공개 메소드

public HandleRequest ( HTTPRequest request, HTTPResponse response ) : void
request HTTPRequest
response HTTPResponse
리턴 void

RouteHandlerEmbeddedResources() 공개 메소드

public RouteHandlerEmbeddedResources ( string resourcePathInAssembly = "", Assembly assembly = null ) : System
resourcePathInAssembly string /// The path where to find resources within the assembly. Empty string "" means the whole assembly. /// HTTP route should contain the remaining path from this origin path to the resource. ///
assembly System.Reflection.Assembly /// The assembly in which the resources are searched for. /// When assembly is null, the first part of the http route path is used as the assembly name. /// An assembly with that name is searched in all loaded assemblies. ///
리턴 System