跳转至

File session.h

FileList > include > qqmusic > utils > session.h

Go to the source code of this file

  • #include <boost/asio.hpp>
  • #include <boost/asio/ssl.hpp>
  • #include <boost/beast/http/dynamic_body.hpp>
  • #include <boost/beast/http/message.hpp>
  • #include <boost/beast/http/string_body.hpp>
  • #include <boost/url.hpp>
  • #include <memory>
  • #include <qqmusic/details/context.h>
  • #include <qqmusic/result.h>
  • #include <qqmusic/utils/credential.h>
  • #include <qqmusic/utils/device.h>
  • #include <qqmusic/utils/qimei.h>
  • #include <stack>
  • #include <utility>

Namespaces

Type Name
namespace qqmusic
namespace utils
简易Cookie管理器, 负责cookie的序列化和反序列化, 依赖 nlohmann::json 实现 目前不支持路径嵌套和Expires HttpOnly 这样的特性

Classes

Type Name
class Session
上下文
class SessionGuard
一个 RAII 风格的Session切换器
class SessionManager
全局单例的Session管理器, 负责维护全局上下文栈, 并负责 session 实例的生成

The documentation for this class was generated from the following file include/qqmusic/utils/session.h