⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 session.h

📁 一个很好用的解析
💻 H
字号:
#ifndef SESSION_H_INCLUDED#define SESSION_H_INCLUDED#include "xmlrpc-c/abyss.h"#include "date.h"#include "data.h"typedef struct {    uint8_t major;    uint8_t minor;} httpVersion;struct _TSession {    abyss_bool validRequest;        /* Client has sent, and server has recognized, a valid HTTP request.           This is false when the session is new.  If and when the server           reads the request from the client and finds it to be valid HTTP,           it becomes true.        */    TRequestInfo request_info;    uint32_t nbfileds;    TList cookies;    TList ranges;    uint16_t status;        /* Response status from handler.  Zero means handler has not           set it.        */    TString header;    abyss_bool serverDeniesKeepalive;        /* Server doesn't want keepalive for this session, regardless of           what happens in the session.  E.g. because the connection has           already been kept alive long enough.        */    abyss_bool responseStarted;        /* Handler has at least started the response (i.e. called           ResponseWrite())        */    struct _TConn * conn;    httpVersion version;    TTable request_headers;    TTable response_headers;    TDate date;    abyss_bool chunkedwrite;    abyss_bool chunkedwritemode;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -