C# 클래스 SizSelCsZzz.Extras.StaticServer

상속: FakeServer, IEnumerable
파일 보기 프로젝트 열기: fschwiet/SizSelCsZzz 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ContentType_Html string
ContentType_Javascript string

공개 메소드들

메소드 설명
Add ( string path, Action handler ) : StaticServer
Add ( string path, string content ) : StaticServer
Start ( ) : StaticServer
StaticServer ( ) : System
StaticServer ( string host, int port ) : System
WithContentType ( string extension, string expectedBarContentType ) : StaticServer

비공개 메소드들

메소드 설명
AddContentTypeIfAvailable ( string localPath, HttpListenerResponse response ) : void
IEnumerable ( ) : IEnumerator

메소드 상세

Add() 공개 메소드

public Add ( string path, Action handler ) : StaticServer
path string
handler Action
리턴 StaticServer

Add() 공개 메소드

public Add ( string path, string content ) : StaticServer
path string
content string
리턴 StaticServer

Start() 공개 메소드

public Start ( ) : StaticServer
리턴 StaticServer

StaticServer() 공개 메소드

public StaticServer ( ) : System
리턴 System

StaticServer() 공개 메소드

public StaticServer ( string host, int port ) : System
host string
port int
리턴 System

WithContentType() 공개 메소드

public WithContentType ( string extension, string expectedBarContentType ) : StaticServer
extension string
expectedBarContentType string
리턴 StaticServer

프로퍼티 상세

ContentType_Html 공개적으로 정적으로 프로퍼티

public static string ContentType_Html
리턴 string

ContentType_Javascript 공개적으로 정적으로 프로퍼티

public static string ContentType_Javascript
리턴 string