Parameters
fastapi.Request
The request object.
fastapi.Response
The response object.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
from fastapi import Request, Response
import chainlit as cl
@cl.on_logout
def main(request: Request, response: Response):
response.delete_cookie("my_cookie")
Was this page helpful?