C# Class OctoTorrent.Tracker.Listeners.HttpListener

Inheritance: ListenerBase
Mostra file Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method Description
HttpListener ( IPAddress address, int port ) : System
HttpListener ( IPEndPoint endpoint ) : System
HttpListener ( string httpPrefix ) : System
Start ( ) : void

Starts listening for incoming connections

Stop ( ) : void

Stops listening for incoming connections

Private Methods

Method Description
EndGetRequest ( IAsyncResult result ) : void
HandleRequest ( HttpListenerContext context ) : void

Method Details

HttpListener() public method

public HttpListener ( IPAddress address, int port ) : System
address System.Net.IPAddress
port int
return System

HttpListener() public method

public HttpListener ( IPEndPoint endpoint ) : System
endpoint System.Net.IPEndPoint
return System

HttpListener() public method

public HttpListener ( string httpPrefix ) : System
httpPrefix string
return System

Start() public method

Starts listening for incoming connections
public Start ( ) : void
return void

Stop() public method

Stops listening for incoming connections
public Stop ( ) : void
return void