2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef EXPRESS_MIDDLEWARE_STATICMIDDLEWARE_H
21#define EXPRESS_MIDDLEWARE_STATICMIDDLEWARE_H
23#include "express/Router.h"
24#include "web/http/ConnectionState.h"
25#include "web/http/CookieOptions.h"
27#ifndef DOXYGEN_SHOULD_SKIP_THIS
StaticMiddleware & appendStdHeaders(const std::string &field, const std::string &value)
web::http::ConnectionState defaultConnectionState
StaticMiddleware & clearStdHeaders()
StaticMiddleware(const StaticMiddleware &)=delete
StaticMiddleware & setStdHeaders(const std::map< std::string, std::string > &stdHeaders)
StaticMiddleware & operator=(const StaticMiddleware &)=delete
static class StaticMiddleware & instance(const std::string &root)
StaticMiddleware & appendStdCookie(const std::string &name, const std::string &value, const std::map< std::string, std::string > &options={})
StaticMiddleware & appendStdHeaders(const std::map< std::string, std::string > &stdHeaders)
StaticMiddleware(const std::string &root)
StaticMiddleware & afterResponse(web::http::ConnectionState connectionState)
int main(int argc, char *argv[])
static express::Router getRouter()
static WebApp getWebApp(const std::string &name)
static WebApp getWebApp(const std::string &name)