C# 클래스 Org.Mentalis.Proxy.Http.HttpListener

Listens on a specific port on the proxy server and forwards all incoming HTTP traffic to the appropriate server.
상속: Org.Mentalis.Proxy.Listener
파일 보기 프로젝트 열기: mcorrientes/Web-Security-Toolset

공개 메소드들

메소드 설명
HttpListener ( IPAddress Address, int Port ) : System

Initializes a new instance of the HttpListener class.

For the security of your server, try to avoid to listen on every network card (IPAddress.Any). Listening on a local IP address is usually sufficient and much more secure.

HttpListener ( int Port ) : System

Initializes a new instance of the HttpListener class.

The HttpListener will start listening on all installed network cards.

NewClient_OnDataReceived ( string SendData, string RecData ) : void
OnAccept ( IAsyncResult ar ) : void

Called when there's an incoming client connection waiting to be accepted.

ToString ( ) : string

Returns a string representation of this object.

메소드 상세

HttpListener() 공개 메소드

Initializes a new instance of the HttpListener class.
For the security of your server, try to avoid to listen on every network card (IPAddress.Any). Listening on a local IP address is usually sufficient and much more secure.
public HttpListener ( IPAddress Address, int Port ) : System
Address System.Net.IPAddress The address to listen on. You can specify IPAddress.Any to listen on all installed network cards.
Port int The port to listen on.
리턴 System

HttpListener() 공개 메소드

Initializes a new instance of the HttpListener class.
The HttpListener will start listening on all installed network cards.
public HttpListener ( int Port ) : System
Port int The port to listen on.
리턴 System

NewClient_OnDataReceived() 공개 메소드

public NewClient_OnDataReceived ( string SendData, string RecData ) : void
SendData string
RecData string
리턴 void

OnAccept() 공개 메소드

Called when there's an incoming client connection waiting to be accepted.
public OnAccept ( IAsyncResult ar ) : void
ar IAsyncResult The result of the asynchronous operation.
리턴 void

ToString() 공개 메소드

Returns a string representation of this object.
public ToString ( ) : string
리턴 string