Trees | Indices | Help |
---|
|
object --+ | streams.ReadStream --+ | HttpServerRequest
Encapsulates a server-side HTTP request.
An instance of this class is created for each request that is handled by the server and is passed to the user via the handler specified using HttpServer.request_handler.
Each instance of this class is associated with a corresponding HttpServerResponse instance via the property response.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|
The HTTP method, one of HEAD, OPTIONS, GET, POST, PUT, DELETE, CONNECT, TRACE
|
The uri of the request. For example 'http://www.somedomain.com/somepath/somemorepath/somresource.foo?someparam=32&someotherparam=x
|
The path part of the uri. For example /somepath/somemorepath/somresource.foo
|
The query part of the uri. For example someparam=32&someotherparam=x
|
The request parameters as a dictionary
|
The response HttpServerResponse object.
|
The request headers as a dictionary
|
Set the body handler for this request, the handler receives a single Buffer object as a parameter. This can be used as a decorator. Keyword arguments:
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Jan 13 17:19:26 2013 | http://epydoc.sourceforge.net |