Panda3D
Public Member Functions | Public Attributes | List of all members
WebRequest Class Reference
Inheritance diagram for WebRequest:

Public Member Functions

def __init__ (self, connection)
 
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)
 

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

◆ __init__()

def __init__ (   self,
  connection 
)

Member Function Documentation

◆ dictFromGET()

def dictFromGET (   self)

◆ getRequestType()

def getRequestType (   self)

◆ getSourceAddress()

def getSourceAddress (   self)

◆ getURI()

def getURI (   self)

◆ respond()

def respond (   self,
  body 
)

◆ respondCustom()

def respondCustom (   self,
  contentType,
  body 
)

◆ respondHTTP()

def respondHTTP (   self,
  status,
  body 
)

◆ respondXML()

def respondXML (   self,
  body 
)

◆ timeout()

def timeout (   self)

Member Data Documentation

◆ connection

connection