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

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

#453 in HTTP client

28 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

~6–11MB
~226K SLoC