Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# WebRequest Class Reference

List of all members.

## 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

All Classes Namespaces Functions Variables Enumerations Enumerator Properties