Skip to main content

Module real

Module real 

Source
Expand description

grabcli’s library as the GrabBackend: grabfood for the client, grabcli_core::login::LoginDriver for the login.

  • The session lives wherever the SessionSlot keeps it: SlotStore is grabcli’s SessionStore over the slot, so every refresh grabcli makes (SSO, hydra) is saved there. Nothing is read from or written to grabcli’s own config or state directories.
  • The cart is grabcli’s grabfood::Cart plus the names and unit prices seen when adding, kept beside the session (unsealed: ids and prices only).
  • The response cache is in memory, one per account, for browsing only (grabfood never reads it on the quote and order path).
  • Each call builds a fresh Context from the stored session.

Structs§

Real
grabcli, for every account.
SlotStore
grabcli’s SessionStore over an account’s slot.