C# Class OctoTorrent.Tracker.Listeners.HttpListener

Inheritance: ListenerBase
Afficher le fichier Open project: Eskat0n/OctoTorrent Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
EndGetRequest ( IAsyncResult result ) : void
HandleRequest ( HttpListenerContext context ) : void

Method Details

HttpListener() public méthode

public HttpListener ( IPAddress address, int port ) : System
address System.Net.IPAddress
port int
Résultat System

HttpListener() public méthode

public HttpListener ( IPEndPoint endpoint ) : System
endpoint System.Net.IPEndPoint
Résultat System

HttpListener() public méthode

public HttpListener ( string httpPrefix ) : System
httpPrefix string
Résultat System

Start() public méthode

Starts listening for incoming connections
public Start ( ) : void
Résultat void

Stop() public méthode

Stops listening for incoming connections
public Stop ( ) : void
Résultat void