#session #http-request #concepts #cookies #agent #requests #user

user_agent

Provides the concept of a user agent session, storing and retrieving cookies over multiple HTTP requests (a Session)

10 unstable releases (4 breaking)

0.11.0 Jun 10, 2020
0.10.0 Feb 14, 2020
0.9.0 Oct 5, 2019
0.7.0 May 2, 2019
0.6.5 Jan 15, 2019

#423 in HTTP client

Download history 50/week @ 2024-04-22 72/week @ 2024-04-29 37/week @ 2024-05-06 26/week @ 2024-05-13 40/week @ 2024-05-20 35/week @ 2024-05-27 22/week @ 2024-06-03 47/week @ 2024-06-10 41/week @ 2024-06-17 21/week @ 2024-07-01 26/week @ 2024-07-08 46/week @ 2024-07-22 64/week @ 2024-07-29 31/week @ 2024-08-05

143 downloads per month

MIT/Apache

40KB
837 lines

Build Status Gitter chat

Documentation

NOTE: reqwest provides support for a cookie_store as of v0.9.14. It currently lacks an API for saving/loading a CookieStore, but consider using the directly provided functionality in lieu of this crate.

Provides the concept of a user agent session, storing and retrieving cookies over multiple HTTP requests (a Session).

Included is an implementation of Session using a reqwest reqwest::Client.

The RFC6265 implementation has been moved to a separate repo/crate.

Features

preserve_order - enable the preserve_order feature of cookie_store default-tls - enable the default-tls feature of reqwest rustls-tls - enable the rustls-tls feature of reqwest

License

This project is licensed and distributed under the terms of both the MIT license and Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT

Dependencies

~5–10MB
~219K SLoC