Module cookie

Source
Expand description

Cookie-based authentication for the RPC server.

Structs§

Cookie
If the RPC authentication is enabled, all requests must contain this cookie.

Constants§

FILE 🔒
The name of the cookie file on the disk

Functions§

remove_from_disk
Removes a cookie from the given dir.
write_to_disk
Writes the given cookie to the given dir.