Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
WebRequest Class Reference
Inheritance diagram for WebRequest:

Public Member Functions

def __init__
 
def dictFromGET
 
def getRequestType
 
def getSourceAddress
 
def getURI
 
def respond
 
def respondCustom
 
def respondHTTP
 
def respondXML
 
def timeout
 

Public Attributes

 connection
 

Detailed Description

Pointer to a single web request (maps to an open HTTP socket).
An instance of this class maps to a single client waiting for a response.

connection is an instance of libdirect.HttpRequest

Constructor & Destructor Documentation

def __init__ (   self,
  connection 
)

Member Function Documentation

def dictFromGET (   self)
def getRequestType (   self)
def getSourceAddress (   self)
def getURI (   self)
def respond (   self,
  body 
)
def respondCustom (   self,
  contentType,
  body 
)
def respondHTTP (   self,
  status,
  body 
)
def respondXML (   self,
  body 
)
def timeout (   self)

Member Data Documentation

connection