C# 클래스 BzReader.WebServer

Serves the HTTP content back to IE control
파일 보기 프로젝트 열기: synhershko/BzReader

공개 메소드들

메소드 설명
GenerateTeXUrl ( string equation ) : string

Generates a TeX equation URL using the provided equation text

GenerateUrl ( PageInfo page ) : string

Generates the URL for the given request term

ProcessRequests ( ) : void

Processes requests coming from the web browser

SendHeader ( string httpVersion, int bytesCount, string redirectLocation, Socket socket, string mime ) : void

Sends HTTP header to the client

Stop ( ) : void

Stops this instance.

비공개 메소드들

메소드 설명
WebServer ( ) : System

Initializes a new instance of the WebServer class.

메소드 상세

GenerateTeXUrl() 공개 메소드

Generates a TeX equation URL using the provided equation text
public GenerateTeXUrl ( string equation ) : string
equation string Equation text
리턴 string

GenerateUrl() 공개 메소드

Generates the URL for the given request term
public GenerateUrl ( PageInfo page ) : string
page PageInfo
리턴 string

ProcessRequests() 공개 메소드

Processes requests coming from the web browser
public ProcessRequests ( ) : void
리턴 void

SendHeader() 공개 메소드

Sends HTTP header to the client
public SendHeader ( string httpVersion, int bytesCount, string redirectLocation, Socket socket, string mime ) : void
httpVersion string Http version string
bytesCount int The number of bytes in the response stream
redirectLocation string The location to redirect the browser to
socket Socket The socket where to write to
mime string The MIME type of the response
리턴 void

Stop() 공개 메소드

Stops this instance.
public Stop ( ) : void
리턴 void