SealSkin
Server Referencesecurity

EncryptedRoute

Route class that encrypts JSON responses with the E2EE session key.

Non-GET requests carrying an X-Idempotency-Key header are executed at most once per crypto session: a retried request (for example after the client's network blipped while a container was being created) receives the stored result instead of running the handler again. While the first attempt is still running, the retry waits for it.

Functions

funcget_route_handler() -> Callable

Wrap the original handler so JSON responses are encrypted.

Returns

collections.abc.Callable

On this page