C# Class Tornado.web.Application

Mostrar archivo Open project: swax/Tornado.Net Class Usage Examples

Public Properties

Property Type Description
_wsgi bool
default_host string
handlers List>.TupleList
named_handlers object>.Dictionary
settings object>.Dictionary
transforms OutputTransform>>.List

Public Methods

Method Description
Application ( object>.TupleList handlers_ = null, string default_host_ = "", OutputTransform>.List transforms_ = null, bool wsgi = false, object>.Dictionary settings_ = null ) : System
Call ( HTTPRequest request ) : RequestHandler
Listen ( int port, string address = "" ) : void
add_handlers ( string host_pattern, object>.TupleList host_handlers ) : void

Private Methods

Method Description
_get_host_handlers ( HTTPRequest request ) : List

Method Details

Application() public method

public Application ( object>.TupleList handlers_ = null, string default_host_ = "", OutputTransform>.List transforms_ = null, bool wsgi = false, object>.Dictionary settings_ = null ) : System
handlers_ object>.TupleList
default_host_ string
transforms_ OutputTransform>.List
wsgi bool
settings_ object>.Dictionary
return System

Call() public method

public Call ( HTTPRequest request ) : RequestHandler
request Tornado.httpserver.HTTPRequest
return RequestHandler

Listen() public method

public Listen ( int port, string address = "" ) : void
port int
address string
return void

add_handlers() public method

public add_handlers ( string host_pattern, object>.TupleList host_handlers ) : void
host_pattern string
host_handlers object>.TupleList
return void

Property Details

_wsgi public_oe property

public bool _wsgi
return bool

default_host public_oe property

public string default_host
return string

handlers public_oe property

public TupleList> handlers
return List>.TupleList

named_handlers public_oe property

public Dictionary named_handlers
return object>.Dictionary

settings public_oe property

public Dictionary settings
return object>.Dictionary

transforms public_oe property

public List> transforms
return OutputTransform>>.List