# WebRequest

from direct.http.WebRequest import WebRequest

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

## Inheritance:

WebRequest: object
object:

## Methods of WebRequest:

__init__
dictFromGET
getRequestType
getSourceAddress
getURI
respond
respondCustom
respondHTTP
respondXML
timeout

__init__ def __init__(self, connection) Undocumented function.

dictFromGET def dictFromGET(self) Undocumented function.

getRequestType def getRequestType(self) Undocumented function.

getSourceAddress def getSourceAddress(self) Undocumented function.

getURI def getURI(self) Undocumented function.

respond def respond(self, body) Undocumented function.

respondCustom def respondCustom(self, contentType, body) Undocumented function.

respondHTTP def respondHTTP(self, status, body) Undocumented function.

respondXML def respondXML(self, body) Undocumented function.

timeout def timeout(self) Undocumented function.