• Retrieves a verified cookie value from the Hono context object.

    Parameters

    • context: Context<any, any, {}>

      The Hono context object.

    • name: string

      The name of the cookie to retrieve.

    Returns undefined | string

    The verified cookie value, or undefined if the cookie is not found or is invalid.

    Throws

    An error if the cookie signature middleware is not used.

Generated using TypeDoc