C# Class Tornado.httpserver.HTTPConnection

Datei anzeigen Open project: swax/Tornado.Net Class Usage Examples

Public Properties

Property Type Description
address System.Net.IPEndPoint
no_keep_alive bool
request_callback RequestHandler>.Func
stream Tornado.iostream.IOStream
xheaders bool

Public Methods

Method Description
HTTPConnection ( IOStream stream_, IPEndPoint address_, RequestHandler>.Func request_callback_, bool no_keep_alive_ = false, bool xheaders_ = false ) : System
_finish_request ( ) : void
_on_write_complete ( ) : void
close ( ) : void
finish ( ) : void
write ( byte chunk, System.Action callback = null ) : void

Private Methods

Method Description
_on_headers ( byte data_ ) : void
_on_request_body ( byte data ) : void

Method Details

HTTPConnection() public method

public HTTPConnection ( IOStream stream_, IPEndPoint address_, RequestHandler>.Func request_callback_, bool no_keep_alive_ = false, bool xheaders_ = false ) : System
stream_ Tornado.iostream.IOStream
address_ System.Net.IPEndPoint
request_callback_ RequestHandler>.Func
no_keep_alive_ bool
xheaders_ bool
return System

_finish_request() public method

public _finish_request ( ) : void
return void

_on_write_complete() public method

public _on_write_complete ( ) : void
return void

close() public method

public close ( ) : void
return void

finish() public method

public finish ( ) : void
return void

write() public method

public write ( byte chunk, System.Action callback = null ) : void
chunk byte
callback System.Action
return void

Property Details

address public_oe property

public IPEndPoint,System.Net address
return System.Net.IPEndPoint

no_keep_alive public_oe property

public bool no_keep_alive
return bool

request_callback public_oe property

public Func request_callback
return RequestHandler>.Func

stream public_oe property

public IOStream,Tornado.iostream stream
return Tornado.iostream.IOStream

xheaders public_oe property

public bool xheaders
return bool