class documentation

class ACMEViewResponse(VerticalScroll):

Constructor: ACMEViewResponse(id)

View In Hierarchy

View to display request responses.

Method __init__ Initialize the view.
Method clear Clear the response.
Method compose Compose the view.
Method error Display an error response.
Method success Display a success response.
Instance Variable border_title The border title. Inherited from the parent class.
Instance Variable classes The classes. Inherited from the parent class.
Instance Variable response The response content.
Class Variable _defaultTitle The default title for the view.
Instance Variable _app The application.
def __init__(self, id: str):

Initialize the view.

Parameters
id:strThe view ID.
def clear(self):

Clear the response.

def compose(self) -> ComposeResult:

Compose the view.

Yields
The view content.
def error(self, renderable: RenderableType, rsc: ResponseStatusCode | None = None, title: str | None = 'ERROR'):

Display an error response.

Parameters
renderable:RenderableTypeThe response text.
rsc:ResponseStatusCode | NoneThe response status code. Only used when the response is a string.
title:str | NoneUndocumented
def success(self, renderable: RenderableType, rsc: ResponseStatusCode | None = None):

Display a success response.

Parameters
renderable:RenderableTypeThe response text or renderable.
rsc:ResponseStatusCode | NoneThe response status code.
border_title =

The border title. Inherited from the parent class.

classes: str =

The classes. Inherited from the parent class.

response =

The response content.

_defaultTitle: str =

The default title for the view.

_app =

The application.