NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
http_filter.hpp 文件参考

HTTP过滤器链实现 更多...

http_filter.hpp 的引用(Include)关系图:

浏览该文件的源代码.

class  http_filter
 HTTP过滤器基类 更多...
class  http_filter_chain
 HTTP过滤器链 更多...
class  cors_filter
 CORS跨域过滤器 更多...
class  logging_filter
 日志记录过滤器 更多...
class  static_file_filter
 静态文件服务过滤器 更多...
class  rate_limit_filter
 限流过滤器 更多...
class  authentication_filter
 认证过滤器 更多...

详细描述

HTTP过滤器链实现

此文件提供了HTTP过滤器链的实现,用于在HTTP请求处理过程中 进行预处理和后处理。支持多种内置过滤器:CORS、日志记录、 静态文件服务、限流、认证等。

主要功能:

  • 过滤器链管理
  • 预过滤和后过滤
  • CORS跨域支持
  • 请求日志记录
  • 静态文件服务
  • 请求限流
  • 认证授权

在文件 http_filter.hpp 中定义.