A Resource with minimal capabilities to render a response.

Method __init__
Method render_GET Render a response to a GET request by returning a short byte string to be written by the server.

Inherited from Resource:

Method listStaticNames Undocumented
Method listStaticEntities Undocumented
Method listNames Undocumented
Method listEntities Undocumented
Method listDynamicNames Undocumented
Method listDynamicEntities Undocumented
Method getStaticEntity Undocumented
Method getDynamicEntity Undocumented
Method delEntity Undocumented
Method reallyPutEntity Undocumented
Method getChild Retrieve a 'child' resource from me.
Method getChildWithDefault Retrieve a static or dynamically generated child resource from me.
Method getChildForRequest Undocumented
Method putChild Register a static child.
Method render Render a given resource. See IResource's render method.
Method render_HEAD Default handling of HEAD method.
def __init__(self, response):
ParametersresponseA bytes object giving the value to return from render_GET.
def render_GET(self, request):

Render a response to a GET request by returning a short byte string to be written by the server.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.