C# Class Manos.Http.HttpServer

Inheritance: IDisposable
Mostrar archivo Open project: toptensoftware/manos Class Usage Examples

Public Properties

Property Type Description
ServerVersion string

Public Methods

Method Description
Dispose ( ) : void
HttpServer ( Manos.IO.Context context, HttpConnectionCallback callback, Socket socket, bool closeOnEnd = false ) : System
Listen ( string host, int port ) : void
RunTransaction ( HttpTransaction trans ) : void

Private Methods

Method Description
ConnectionAccepted ( Socket socket ) : void
HttpServer ( ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HttpServer() public method

public HttpServer ( Manos.IO.Context context, HttpConnectionCallback callback, Socket socket, bool closeOnEnd = false ) : System
context Manos.IO.Context
callback HttpConnectionCallback
socket Socket
closeOnEnd bool
return System

Listen() public method

public Listen ( string host, int port ) : void
host string
port int
return void

RunTransaction() public method

public RunTransaction ( HttpTransaction trans ) : void
trans HttpTransaction
return void

Property Details

ServerVersion public_oe static_oe property

public static string ServerVersion
return string