diff --git a/master/reference/app_8h.html b/master/reference/app_8h.html index f1c59c227..dfa34c2f1 100644 --- a/master/reference/app_8h.html +++ b/master/reference/app_8h.html @@ -248,7 +248,7 @@

return "<h1>Hello, world!</h1>";
});
#define CROW_BP_ROUTE(blueprint, url)
Creates a route for a blueprint using a rule.
Definition: app.h:94
-
A blueprint can be considered a smaller section of a Crow app, specifically where the router is conce...
Definition: routing.h:1111
+
A blueprint can be considered a smaller section of a Crow app, specifically where the router is conce...
Definition: routing.h:1113

This is the recommended way to define routes in a crow blueprint because of its compile-time capabilities.

See also
Page of the guide "Blueprints".
diff --git a/master/reference/app_8h_source.html b/master/reference/app_8h_source.html index ada6fe92c..8b570216c 100644 --- a/master/reference/app_8h_source.html +++ b/master/reference/app_8h_source.html @@ -890,8 +890,8 @@
789  /// an Crow application that doesn't require of Middlewares
790  using SimpleApp = Crow<>;
791 } // namespace crow
-
A blueprint can be considered a smaller section of a Crow app, specifically where the router is conce...
Definition: routing.h:1111
-
Definition: routing.h:342
+
A blueprint can be considered a smaller section of a Crow app, specifically where the router is conce...
Definition: routing.h:1113
+
Definition: routing.h:344
The main server application class.
Definition: app.h:199
self_t & multithreaded()
Run the server on multiple threads using all available threads.
Definition: app.h:361
void stop()
Stop the server.
Definition: app.h:556
@@ -931,8 +931,8 @@
self_t & server_name(std::string server_name)
Set the server name.
Definition: app.h:341
self_t & stream_threshold(size_t threshold)
Set the response body size (in bytes) beyond which Crow automatically streams responses (Default is 1...
Definition: app.h:398
void add_blueprint()
Apply blueprints.
Definition: app.h:464
-
A rule that can change its parameters during runtime.
Definition: routing.h:582
-
Handles matching requests to existing rules and upgrade requests.
Definition: routing.h:1264
+
A rule that can change its parameters during runtime.
Definition: routing.h:584
+
Handles matching requests to existing rules and upgrade requests.
Definition: routing.h:1267
Definition: http_server.h:43
The main namespace of the library. In this namespace is defined the most important classes and functi...
Definition: socket_adaptors.h:107
diff --git a/master/reference/classcrow_1_1mustache_1_1invalid__template__exception-members.html b/master/reference/classcrow_1_1mustache_1_1invalid__template__exception-members.html index c4df476de..46f68622e 100644 --- a/master/reference/classcrow_1_1mustache_1_1invalid__template__exception-members.html +++ b/master/reference/classcrow_1_1mustache_1_1invalid__template__exception-members.html @@ -102,7 +102,7 @@

This is the complete list of members for crow::mustache::invalid_template_exception, including all inherited members.

- +
invalid_template_exception(const std::string &msg) (defined in crow::mustache::invalid_template_exception)crow::mustache::invalid_template_exceptioninline
invalid_template_exception(const std::string &msg_) (defined in crow::mustache::invalid_template_exception)crow::mustache::invalid_template_exceptioninline
msg (defined in crow::mustache::invalid_template_exception)crow::mustache::invalid_template_exception
what() const override (defined in crow::mustache::invalid_template_exception)crow::mustache::invalid_template_exceptioninlinevirtual
diff --git a/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.html b/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.html index 6bb93e14e..915c6f869 100644 --- a/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.html +++ b/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.html @@ -117,9 +117,9 @@ - - + + diff --git a/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.js b/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.js index 527931f6e..940e0e430 100644 --- a/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.js +++ b/master/reference/classcrow_1_1mustache_1_1invalid__template__exception.js @@ -1,6 +1,6 @@ var classcrow_1_1mustache_1_1invalid__template__exception = [ - [ "invalid_template_exception", "classcrow_1_1mustache_1_1invalid__template__exception.html#a2a598ed4d91525b8642ec0c0c4b711a9", null ], + [ "invalid_template_exception", "classcrow_1_1mustache_1_1invalid__template__exception.html#a52959ee8c3564cffd8d173453df9eda2", null ], [ "what", "classcrow_1_1mustache_1_1invalid__template__exception.html#ac7fa382187fc426bca817bc56b1ffed9", null ], [ "msg", "classcrow_1_1mustache_1_1invalid__template__exception.html#a6ec8bc8b03e34a5d2443d2f080e9b739", null ] ]; \ No newline at end of file diff --git a/master/reference/cors_8h_source.html b/master/reference/cors_8h_source.html index aa673b68d..eb062a5c1 100644 --- a/master/reference/cors_8h_source.html +++ b/master/reference/cors_8h_source.html @@ -299,7 +299,7 @@
198  }
199 
200 } // namespace crow
-
A blueprint can be considered a smaller section of a Crow app, specifically where the router is conce...
Definition: routing.h:1111
+
A blueprint can be considered a smaller section of a Crow app, specifically where the router is conce...
Definition: routing.h:1113
The main namespace of the library. In this namespace is defined the most important classes and functi...
const std::string & get_header_value(const T &headers, const std::string &key)
Find and return the value associated with the key. (returns an empty string if nothing is found)
Definition: http_request.h:24
Definition: cors.h:135
diff --git a/master/reference/functions.html b/master/reference/functions.html index 4d9d3ea21..39bd1f397 100644 --- a/master/reference/functions.html +++ b/master/reference/functions.html @@ -356,10 +356,10 @@

- m -

Public Member Functions

invalid_template_exception (const std::string &msg)
 
invalid_template_exception (const std::string &msg_)
 
virtual const char * what () const override throw ()
 
- +
enabled(int mw_index) const (defined in crow::detail::middleware_call_criteria_dynamic< false >)crow::detail::middleware_call_criteria_dynamic< false >inline
middleware_call_criteria_dynamic(const std::vector< int > &indices) (defined in crow::detail::middleware_call_criteria_dynamic< false >)crow::detail::middleware_call_criteria_dynamic< false >inline
middleware_call_criteria_dynamic(const std::vector< int > &indices_) (defined in crow::detail::middleware_call_criteria_dynamic< false >)crow::detail::middleware_call_criteria_dynamic< false >inline
diff --git a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html index 040cfdb1f..5a8014d4d 100644 --- a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html +++ b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html @@ -105,9 +105,9 @@ - - + + diff --git a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.js b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.js index 9b1518b62..6dfafee43 100644 --- a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.js +++ b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.js @@ -1,5 +1,5 @@ var structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4 = [ - [ "middleware_call_criteria_dynamic", "structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html#a975e9db833b37965e9113a44787de713", null ], + [ "middleware_call_criteria_dynamic", "structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html#aebfc2f7848a728de2a901e33cda556cf", null ], [ "enabled", "structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01false_01_4.html#a03d8f77d9bec07bf6cddce95adde8fc6", null ] ]; \ No newline at end of file diff --git a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4-members.html b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4-members.html index 1e447cfd9..c241bd666 100644 --- a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4-members.html +++ b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4-members.html @@ -103,7 +103,7 @@

This is the complete list of members for crow::detail::middleware_call_criteria_dynamic< true >, including all inherited members.

Public Member Functions

middleware_call_criteria_dynamic (const std::vector< int > &indices)
 
middleware_call_criteria_dynamic (const std::vector< int > &indices_)
 
template<typename >
bool enabled (int mw_index) const
- +
enabled(int mw_index) const (defined in crow::detail::middleware_call_criteria_dynamic< true >)crow::detail::middleware_call_criteria_dynamic< true >inline
middleware_call_criteria_dynamic(const std::vector< int > &indices) (defined in crow::detail::middleware_call_criteria_dynamic< true >)crow::detail::middleware_call_criteria_dynamic< true >inline
middleware_call_criteria_dynamic(const std::vector< int > &indices_) (defined in crow::detail::middleware_call_criteria_dynamic< true >)crow::detail::middleware_call_criteria_dynamic< true >inline
diff --git a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html index 05d85fe53..2310ae566 100644 --- a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html +++ b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html @@ -105,9 +105,9 @@ - - + + diff --git a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.js b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.js index 3dae86386..36a2b9fde 100644 --- a/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.js +++ b/master/reference/structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.js @@ -1,5 +1,5 @@ var structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4 = [ - [ "middleware_call_criteria_dynamic", "structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html#a6f5d720273c0de6ae01a138e0bb84cc6", null ], + [ "middleware_call_criteria_dynamic", "structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html#a9a85b847e8f7fb3452037becd99e3411", null ], [ "enabled", "structcrow_1_1detail_1_1middleware__call__criteria__dynamic_3_01true_01_4.html#abf5e13ed2e5057951fffb0ffa4c41ad5", null ] ]; \ No newline at end of file diff --git a/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper-members.html b/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper-members.html index 068fd33a5..c10825fcc 100644 --- a/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper-members.html +++ b/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper-members.html @@ -104,7 +104,7 @@

Public Member Functions

middleware_call_criteria_dynamic (const std::vector< int > &indices)
 
middleware_call_criteria_dynamic (const std::vector< int > &indices_)
 
template<typename >
bool enabled (int mw_index) const
- +
f (defined in crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >)crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >
operator()(const request &req, response &res, Args... args) (defined in crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >)crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >inline
req_handler_wrapper(Func f) (defined in crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >)crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >inline
req_handler_wrapper(Func fun) (defined in crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >)crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::req_handler_wrapper< Req, Args >inline
diff --git a/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html b/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html index 90c00d31b..cabe3c946 100644 --- a/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html +++ b/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html @@ -106,9 +106,9 @@ - - + + diff --git a/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.js b/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.js index ea86183eb..4063a4a98 100644 --- a/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.js +++ b/master/reference/structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.js @@ -1,6 +1,6 @@ var structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper = [ - [ "req_handler_wrapper", "structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html#aba29fdf5c44192709c4eef8e84a48485", null ], + [ "req_handler_wrapper", "structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html#a994caa9765212339486fd6245e08b4ff", null ], [ "operator()", "structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html#a40965565a28cc879ec75c831c0b729ae", null ], [ "f", "structcrow_1_1detail_1_1routing__handler__call__helper_1_1_wrapped_1_1req__handler__wrapper.html#a0553c3d38f4902d9c3fa8655812ddbd7", null ] ]; \ No newline at end of file diff --git a/master/reference/structcrow_1_1multipart_1_1message-members.html b/master/reference/structcrow_1_1multipart_1_1message-members.html index 0011cf2e6..af5c7864f 100644 --- a/master/reference/structcrow_1_1multipart_1_1message-members.html +++ b/master/reference/structcrow_1_1multipart_1_1message-members.html @@ -109,7 +109,7 @@ - + diff --git a/master/reference/structcrow_1_1multipart_1_1message.html b/master/reference/structcrow_1_1multipart_1_1message.html index 33c2ac687..43c10a978 100644 --- a/master/reference/structcrow_1_1multipart_1_1message.html +++ b/master/reference/structcrow_1_1multipart_1_1message.html @@ -134,10 +134,10 @@ std::string  - - - + + + diff --git a/master/reference/structcrow_1_1multipart_1_1message.js b/master/reference/structcrow_1_1multipart_1_1message.js index 538ea81d3..83f88bedc 100644 --- a/master/reference/structcrow_1_1multipart_1_1message.js +++ b/master/reference/structcrow_1_1multipart_1_1message.js @@ -1,6 +1,6 @@ var structcrow_1_1multipart_1_1message = [ - [ "message", "structcrow_1_1multipart_1_1message.html#a0007fa0cadffae1a8d16fac169d1527b", null ], + [ "message", "structcrow_1_1multipart_1_1message.html#a04ffb20817903d00334268d31f635621", null ], [ "message", "structcrow_1_1multipart_1_1message.html#a32946a0f39a8d024aaf4643116a7561b", null ], [ "dump", "structcrow_1_1multipart_1_1message.html#adac4c7af1a5d0eb66c2accbaf80e0196", null ], [ "dump", "structcrow_1_1multipart_1_1message.html#abeeebf36687f9cbdf06a6521eac1ce33", null ], diff --git a/master/reference/structcrow_1_1multipart_1_1message__view-members.html b/master/reference/structcrow_1_1multipart_1_1message__view-members.html index 71e35ed20..9df7a17fd 100644 --- a/master/reference/structcrow_1_1multipart_1_1message__view-members.html +++ b/master/reference/structcrow_1_1multipart_1_1message__view-members.html @@ -108,7 +108,7 @@ - + diff --git a/master/reference/structcrow_1_1multipart_1_1message__view.html b/master/reference/structcrow_1_1multipart_1_1message__view.html index 12baf32e3..7948a5ca9 100644 --- a/master/reference/structcrow_1_1multipart_1_1message__view.html +++ b/master/reference/structcrow_1_1multipart_1_1message__view.html @@ -126,10 +126,10 @@ std::string  - - - + + + diff --git a/master/reference/structcrow_1_1multipart_1_1message__view.js b/master/reference/structcrow_1_1multipart_1_1message__view.js index 3f5cbeec4..8bd0a4b92 100644 --- a/master/reference/structcrow_1_1multipart_1_1message__view.js +++ b/master/reference/structcrow_1_1multipart_1_1message__view.js @@ -1,6 +1,6 @@ var structcrow_1_1multipart_1_1message__view = [ - [ "message_view", "structcrow_1_1multipart_1_1message__view.html#ae01a2e1676ca9d22d625200df14b88fe", null ], + [ "message_view", "structcrow_1_1multipart_1_1message__view.html#ab2985a84afde169fb89fc35e430106db", null ], [ "message_view", "structcrow_1_1multipart_1_1message__view.html#ad0a498ccdfea67c512d5cb23f62c4f1c", null ], [ "dump", "structcrow_1_1multipart_1_1message__view.html#ad12d2270b477b231c9ff53d40bad9d60", null ], [ "dump", "structcrow_1_1multipart_1_1message__view.html#a93b1d69b8688d153ed0949ad6dc527fc", null ], diff --git a/master/reference/structcrow_1_1multipart_1_1padded-members.html b/master/reference/structcrow_1_1multipart_1_1padded-members.html index 2d94d8247..ef50260b5 100644 --- a/master/reference/structcrow_1_1multipart_1_1padded-members.html +++ b/master/reference/structcrow_1_1multipart_1_1padded-members.html @@ -102,7 +102,7 @@

This is the complete list of members for crow::multipart::padded, including all inherited members.

Public Member Functions

req_handler_wrapper (Func f)
 
req_handler_wrapper (Func fun)
 
void operator() (const request &req, response &res, Args... args)
 
get_header_value(const std::string &key) const (defined in crow::multipart::message)crow::multipart::messageinline
get_part_by_name(const std::string &name) (defined in crow::multipart::message)crow::multipart::messageinline
headerscrow::multipart::message
message(const ci_map &headers, const std::string &boundary, const std::vector< part > &sections)crow::multipart::messageinline
message(const ci_map &headers_, const std::string &boundary_, const std::vector< part > &sections)crow::multipart::messageinline
message(const request &req)crow::multipart::messageinlineexplicit
part_mapcrow::multipart::message
partscrow::multipart::message
dump (int part_) const
 Represent an individual part as a string.
 
message (const ci_map &headers, const std::string &boundary, const std::vector< part > &sections)
 Default constructor using default values.
 
message (const ci_map &headers_, const std::string &boundary_, const std::vector< part > &sections)
 Default constructor using default values.
 
 message (const request &req)
 Create a multipart message from a request data.
get_header_value(const std::string &key) const (defined in crow::multipart::message_view)crow::multipart::message_viewinline
get_part_by_name(const std::string_view name) (defined in crow::multipart::message_view)crow::multipart::message_viewinline
headerscrow::multipart::message_view
message_view(const ci_map &headers, const std::string &boundary, const std::vector< part_view > &sections)crow::multipart::message_viewinline
message_view(const ci_map &headers_, const std::string &boundary_, const std::vector< part_view > &sections)crow::multipart::message_viewinline
message_view(const request &req)crow::multipart::message_viewinlineexplicit
operator<< (defined in crow::multipart::message_view)crow::multipart::message_viewfriend
part_mapcrow::multipart::message_view
dump (int part_) const
 Represent an individual part as a string.
 
message_view (const ci_map &headers, const std::string &boundary, const std::vector< part_view > &sections)
 Default constructor using default values.
 
message_view (const ci_map &headers_, const std::string &boundary_, const std::vector< part_view > &sections)
 Default constructor using default values.
 
 message_view (const request &req)
 Create a multipart message from a request data.
- +
operator<<(std::ostream &stream, const padded value)crow::multipart::paddedfriend
operator<<(std::ostream &stream, const padded value_)crow::multipart::paddedfriend
paddingcrow::multipart::padded
valuecrow::multipart::padded
diff --git a/master/reference/structcrow_1_1multipart_1_1padded.html b/master/reference/structcrow_1_1multipart_1_1padded.html index a97edc122..59614bf81 100644 --- a/master/reference/structcrow_1_1multipart_1_1padded.html +++ b/master/reference/structcrow_1_1multipart_1_1padded.html @@ -122,10 +122,10 @@ - - - + + +

Friends

-std::ostream & operator<< (std::ostream &stream, const padded value)
 Outputs padded value to the stream.
 
+std::ostream & operator<< (std::ostream &stream, const padded value_)
 Outputs padded value to the stream.
 

Detailed Description

String padded with the specified padding (double quotes by default)

diff --git a/master/reference/structcrow_1_1multipart_1_1padded.js b/master/reference/structcrow_1_1multipart_1_1padded.js index 57d88c309..2ac256935 100644 --- a/master/reference/structcrow_1_1multipart_1_1padded.js +++ b/master/reference/structcrow_1_1multipart_1_1padded.js @@ -1,6 +1,6 @@ var structcrow_1_1multipart_1_1padded = [ - [ "operator<<", "structcrow_1_1multipart_1_1padded.html#a27b10196d6f596db53102988da72e47e", null ], + [ "operator<<", "structcrow_1_1multipart_1_1padded.html#a65a7ba8beab915313c5d078727151776", null ], [ "padding", "structcrow_1_1multipart_1_1padded.html#a6e434697fc61b09cdd15953d5260c746", null ], [ "value", "structcrow_1_1multipart_1_1padded.html#a3198bf9ee11e1c8e9e84a5880898e85b", null ] ]; \ No newline at end of file diff --git a/master/reference/structcrow_1_1mustache_1_1_action-members.html b/master/reference/structcrow_1_1mustache_1_1_action-members.html index 91566c165..76c9381fa 100644 --- a/master/reference/structcrow_1_1mustache_1_1_action-members.html +++ b/master/reference/structcrow_1_1mustache_1_1_action-members.html @@ -102,7 +102,7 @@

This is the complete list of members for crow::mustache::Action, including all inherited members.

- + diff --git a/master/reference/structcrow_1_1mustache_1_1_action.html b/master/reference/structcrow_1_1mustache_1_1_action.html index e748a77bc..36116b6bb 100644 --- a/master/reference/structcrow_1_1mustache_1_1_action.html +++ b/master/reference/structcrow_1_1mustache_1_1_action.html @@ -111,9 +111,9 @@
Action(ActionType t, size_t start, size_t end, size_t pos=0) (defined in crow::mustache::Action)crow::mustache::Actioninline
Action(ActionType t_, size_t start_, size_t end_, size_t pos_=0) (defined in crow::mustache::Action)crow::mustache::Actioninline
end (defined in crow::mustache::Action)crow::mustache::Action
pos (defined in crow::mustache::Action)crow::mustache::Action
start (defined in crow::mustache::Action)crow::mustache::Action
- - + +

Public Member Functions

Action (ActionType t, size_t start, size_t end, size_t pos=0)
 
Action (ActionType t_, size_t start_, size_t end_, size_t pos_=0)
 
diff --git a/master/reference/structcrow_1_1mustache_1_1_action.js b/master/reference/structcrow_1_1mustache_1_1_action.js index 8d9a210f4..02c28fa71 100644 --- a/master/reference/structcrow_1_1mustache_1_1_action.js +++ b/master/reference/structcrow_1_1mustache_1_1_action.js @@ -1,6 +1,6 @@ var structcrow_1_1mustache_1_1_action = [ - [ "Action", "structcrow_1_1mustache_1_1_action.html#abdd01c3d42e0b9943cc07cc511cb972c", null ], + [ "Action", "structcrow_1_1mustache_1_1_action.html#ab6d29322c7a78ea25a115ae1db1ae7c1", null ], [ "end", "structcrow_1_1mustache_1_1_action.html#ac0daea6290bb2ca9c9c87c3fb163ce7d", null ], [ "pos", "structcrow_1_1mustache_1_1_action.html#a1af3f38c04cdc0978c2a788eeda81eab", null ], [ "start", "structcrow_1_1mustache_1_1_action.html#a643c89b2d81bfc2d2eedfca0cb119068", null ], diff --git a/master/reference/structcrow_1_1request-members.html b/master/reference/structcrow_1_1request-members.html index cf11506ba..aff3f9b27 100644 --- a/master/reference/structcrow_1_1request-members.html +++ b/master/reference/structcrow_1_1request-members.html @@ -121,7 +121,7 @@ - + diff --git a/master/reference/structcrow_1_1request.html b/master/reference/structcrow_1_1request.html index 63b20f39b..d83b8e4f6 100644 --- a/master/reference/structcrow_1_1request.html +++ b/master/reference/structcrow_1_1request.html @@ -115,10 +115,10 @@   - - - + + + diff --git a/master/reference/structcrow_1_1request.js b/master/reference/structcrow_1_1request.js index 243ae8363..35769a6a7 100644 --- a/master/reference/structcrow_1_1request.js +++ b/master/reference/structcrow_1_1request.js @@ -1,7 +1,7 @@ var structcrow_1_1request = [ [ "request", "structcrow_1_1request.html#a838c9a8c9a5eb2283d57e66f3630b5a6", null ], - [ "request", "structcrow_1_1request.html#a111b70ddb2a100a79415b539e152e145", null ], + [ "request", "structcrow_1_1request.html#ab90c2762f152a7d58a1ab8ea55e0afd0", null ], [ "add_header", "structcrow_1_1request.html#a98b85749921fc63e57d6ea891fe17391", null ], [ "check_version", "structcrow_1_1request.html#ac369309c6be61c011b93a5b8cf14515a", null ], [ "dispatch", "structcrow_1_1request.html#ac3e72e3fe415c68618dee999e3984160", null ], diff --git a/master/reference/structcrow_1_1response-members.html b/master/reference/structcrow_1_1response-members.html index 5c1819e2e..f61adfe87 100644 --- a/master/reference/structcrow_1_1response-members.html +++ b/master/reference/structcrow_1_1response-members.html @@ -124,16 +124,16 @@ - - - + + + - - + + - - + + diff --git a/master/reference/structcrow_1_1response.html b/master/reference/structcrow_1_1response.html index 1bda49371..5fe34d9c0 100644 --- a/master/reference/structcrow_1_1response.html +++ b/master/reference/structcrow_1_1response.html @@ -131,36 +131,36 @@ - - - - - - + + + + + + - - - - + + + + - - - - + + + + diff --git a/master/reference/structcrow_1_1response.js b/master/reference/structcrow_1_1response.js index cf79e7300..d54e70752 100644 --- a/master/reference/structcrow_1_1response.js +++ b/master/reference/structcrow_1_1response.js @@ -2,16 +2,16 @@ var structcrow_1_1response = [ [ "static_file_info", "structcrow_1_1response_1_1static__file__info.html", "structcrow_1_1response_1_1static__file__info" ], [ "response", "structcrow_1_1response.html#a0f4955bc5dc914d698cff5e83bca1cdb", null ], - [ "response", "structcrow_1_1response.html#a52e2658b1d16dcf106ed138b6396696b", null ], - [ "response", "structcrow_1_1response.html#aab7485cb8f0efa3fcf062118476edfd5", null ], - [ "response", "structcrow_1_1response.html#aeee8e7dd021783524bae9bd8775bae0f", null ], + [ "response", "structcrow_1_1response.html#aa2b9fa69bcdc21f244e0e8f7c0b13bbc", null ], + [ "response", "structcrow_1_1response.html#a19aa374c89c379d50ccae959c09e8d30", null ], + [ "response", "structcrow_1_1response.html#a808aae9110e1e3a5ca7b3fa3a43881c2", null ], [ "response", "structcrow_1_1response.html#a693fd3f57d926251918b16a6f20be474", null ], [ "response", "structcrow_1_1response.html#a70c56fc6910c94f42accb77a45d5686e", null ], - [ "response", "structcrow_1_1response.html#a37aaf5b69473066fe8bcf302e9ba4580", null ], - [ "response", "structcrow_1_1response.html#a3b9bfae36855265ddc1a64c78d0caf8e", null ], + [ "response", "structcrow_1_1response.html#a87339aace851e4fcabcd5f61cf58f0fd", null ], + [ "response", "structcrow_1_1response.html#a126da3d75afaa53b195a02c8e4b03806", null ], [ "response", "structcrow_1_1response.html#abd924a9b90dfb505804fe4cf791768a3", null ], - [ "response", "structcrow_1_1response.html#ac7f3e75d48f2082a93e366d31298eb72", null ], - [ "response", "structcrow_1_1response.html#a58dd09e8a9b3f1d86fe9d676757c8a2c", null ], + [ "response", "structcrow_1_1response.html#a6a1bcececde5a88e43ac5bb4d069d09f", null ], + [ "response", "structcrow_1_1response.html#a178201cdeeea4bd7d2ddd97d72e0f293", null ], [ "add_header", "structcrow_1_1response.html#a16d1a8bcec6460ba97f90b80881693b8", null ], [ "clear", "structcrow_1_1response.html#a068269fc8b7f1df3d5421ccd384fe1f3", null ], [ "end", "structcrow_1_1response.html#abef42200eca49c70dc1f5140ee3603ab", null ], diff --git a/master/reference/utility_8h_source.html b/master/reference/utility_8h_source.html index 0d8c2fb26..8bf29d604 100644 --- a/master/reference/utility_8h_source.html +++ b/master/reference/utility_8h_source.html @@ -743,9 +743,9 @@
642 
643  // Padded
644  else if (size >= 2 && data[size - 2] == '=') // padded with '=='
-
645  size = (size / 4 * 3) - 2; // == padding means the last block only has 1 character instead of 3, hence the '-2'
+
645  size = (size / 4 * 3) - 2; // == padding means the last block only has 1 character instead of 3, hence the '-2'
646  else if (size >= 1 && data[size - 1] == '=') // padded with '='
-
647  size = (size / 4 * 3) - 1; // = padding means the last block only has 2 character instead of 3, hence the '-1'
+
647  size = (size / 4 * 3) - 1; // = padding means the last block only has 2 character instead of 3, hence the '-1'
648 
649  // Padding not needed
650  else
@@ -825,7 +825,7 @@
724  // Check for special device names. The Windows behavior is really odd here, it will consider both AUX and AUX.txt
725  // a special device. Thus we search for the string (case-insensitive), and then check if the string ends or if
726  // is has a dangerous follow up character (.:\/)
-
727  auto sanitizeSpecialFile = [](std::string& source, unsigned ofs, const char* pattern, bool includeNumber, char replacement) {
+
727  auto sanitizeSpecialFile = [](std::string& source, unsigned ofs, const char* pattern, bool includeNumber, char replacement_) {
728  unsigned i = ofs;
729  size_t len = source.length();
730  const char* p = pattern;
@@ -844,7 +844,7 @@
743  if ((i >= len) || (source[i] == '.') || (source[i] == ':') || (source[i] == '/') || (source[i] == '\\'))
744  {
745  source.erase(ofs + 1, (i - ofs) - 1);
-
746  source[ofs] = replacement;
+
746  source[ofs] = replacement_;
747  }
748  };
749  bool checkForSpecialEntries = true;
@@ -1035,7 +1035,7 @@
934  * @param last2 end() iterator of the second range
935  * @return first occurence that matches between two ranges of iterators
936  */
-
937  template <typename Iter1, typename Iter2>
+
937  template<typename Iter1, typename Iter2>
938  inline static Iter1 find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2)
939  {
940  for (; first1 != last1; ++first1)

Public Attributes

raw_urlcrow::request
remote_ip_addresscrow::request
request()crow::requestinline
request(HTTPMethod method, std::string raw_url, std::string url, query_string url_params, ci_map headers, std::string body, unsigned char http_major, unsigned char http_minor, bool has_keep_alive, bool has_close_connection, bool is_upgrade)crow::requestinline
request(HTTPMethod method_, std::string raw_url_, std::string url_, query_string url_params_, ci_map headers_, std::string body_, unsigned char http_major, unsigned char http_minor, bool has_keep_alive, bool has_close_connection, bool is_upgrade)crow::requestinline
upgradecrow::request
urlcrow::request
url_paramscrow::request
request ()
 Construct an empty request. (sets the method to GET)
 
request (HTTPMethod method, std::string raw_url, std::string url, query_string url_params, ci_map headers, std::string body, unsigned char http_major, unsigned char http_minor, bool has_keep_alive, bool has_close_connection, bool is_upgrade)
 Construct a request with all values assigned.
 
request (HTTPMethod method_, std::string raw_url_, std::string url_, query_string url_params_, ci_map headers_, std::string body_, unsigned char http_major, unsigned char http_minor, bool has_keep_alive, bool has_close_connection, bool is_upgrade)
 Construct a request with all values assigned.
 
void add_header (std::string key, std::string value)
 
redirect(const std::string &location)crow::responseinline
redirect_perm(const std::string &location)crow::responseinline
response() (defined in crow::response)crow::responseinline
response(int code) (defined in crow::response)crow::responseinlineexplicit
response(std::string body) (defined in crow::response)crow::responseinline
response(int code, std::string body) (defined in crow::response)crow::responseinline
response(int code_) (defined in crow::response)crow::responseinlineexplicit
response(std::string body_) (defined in crow::response)crow::responseinline
response(int code_, std::string body_) (defined in crow::response)crow::responseinline
response(returnable &&value) (defined in crow::response)crow::responseinline
response(returnable &value) (defined in crow::response)crow::responseinline
response(int code, returnable &value) (defined in crow::response)crow::responseinline
response(int code, returnable &&value) (defined in crow::response)crow::responseinline
response(int code_, returnable &value) (defined in crow::response)crow::responseinline
response(int code_, returnable &&value) (defined in crow::response)crow::responseinline
response(response &&r) (defined in crow::response)crow::responseinline
response(std::string contentType, std::string body) (defined in crow::response)crow::responseinline
response(int code, std::string contentType, std::string body) (defined in crow::response)crow::responseinline
response(std::string contentType, std::string body_) (defined in crow::response)crow::responseinline
response(int code_, std::string contentType, std::string body_) (defined in crow::response)crow::responseinline
Router (defined in crow::response)crow::responsefriend
set_header(std::string key, std::string value)crow::responseinline
set_static_file_info(std::string path)crow::responseinline
const std::string & get_header_value (const std::string &key)
 
response (int code)
 
response (std::string body)
 
response (int code, std::string body)
 
response (int code_)
 
response (std::string body_)
 
response (int code_, std::string body_)
 
 response (returnable &&value)
 
 response (returnable &value)
 
response (int code, returnable &value)
 
response (int code, returnable &&value)
 
response (int code_, returnable &value)
 
response (int code_, returnable &&value)
 
 response (response &&r)
 
response (std::string contentType, std::string body)
 
response (int code, std::string contentType, std::string body)
 
response (std::string contentType, std::string body_)
 
response (int code_, std::string contentType, std::string body_)
 
responseoperator= (const response &r)=delete