Skip to main content

FletAppGuestRequestEvent

The embedded app asked its host to do something, with Page.request_host.

control is the FletApp that runs the app that asked.

Inherits: Event

Properties

  • args - The request's arguments.
  • request - The request's name, for example "fletbase.oauth".
  • request_id - Identifies the request between the host and the embedded app.

Properties​

argsclass-attributeinstance-attribute​

args: dict[str, Any] | None = None

The request's arguments. They come from the embedded app: treat them as untrusted input.

requestinstance-attribute​

request: str

The request's name, for example "fletbase.oauth". Names are chosen by the embedded app; by convention package.action.

request_idclass-attributeinstance-attribute​

request_id: int = field(default=0, repr=False)

Identifies the request between the host and the embedded app.