mirror of https://github.com/CrowCpp/Crow.git
fix typos
This commit is contained in:
parent
eeb74b389a
commit
84289dbe71
|
@ -1,4 +1,4 @@
|
|||
//#define CROW_STATIC_DRIECTORY "alternative_directory/"
|
||||
//#define CROW_STATIC_DIRECTORY "alternative_directory/"
|
||||
//#define CROW_STATIC_ENDPOINT "/alternative_endpoint/<path>"
|
||||
//#define CROW_DISABLE_STATIC_DIR
|
||||
#include "crow.h"
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace crow
|
|||
/// Process an Upgrade request
|
||||
|
||||
///
|
||||
/// Currently used to upgrrade an HTTP connection to a WebSocket connection
|
||||
/// Currently used to upgrade an HTTP connection to a WebSocket connection
|
||||
template<typename Adaptor>
|
||||
void handle_upgrade(const request& req, response& res, Adaptor&& adaptor)
|
||||
{
|
||||
|
@ -342,7 +342,7 @@ namespace crow
|
|||
|
||||
#ifdef CROW_ENABLE_SSL
|
||||
|
||||
/// use certificate and key files for SSL
|
||||
/// Use certificate and key files for SSL
|
||||
self_t& ssl_file(const std::string& crt_filename, const std::string& key_filename)
|
||||
{
|
||||
ssl_used_ = true;
|
||||
|
@ -355,7 +355,7 @@ namespace crow
|
|||
return *this;
|
||||
}
|
||||
|
||||
/// use .pem file for SSL
|
||||
/// Use .pem file for SSL
|
||||
self_t& ssl_file(const std::string& pem_filename)
|
||||
{
|
||||
ssl_used_ = true;
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace crow
|
|||
return empty;
|
||||
}
|
||||
|
||||
/// Same as \ref get_header_value_Object() but for \ref multipart.header
|
||||
/// Same as \ref get_header_value_object() but for \ref multipart.header
|
||||
template<typename T>
|
||||
inline const header& get_header_object(const T& headers, const std::string& key)
|
||||
{
|
||||
|
|
|
@ -59,6 +59,6 @@
|
|||
#if __cplusplus > 201103L
|
||||
#define CROW_GCC83_WORKAROUND
|
||||
#else
|
||||
#error "GCC 8.1 - 8.3 has a bug that prevents crow from compiling with C++11. Please update GCC to > 8.3 or use C++ > 11."
|
||||
#error "GCC 8.1 - 8.3 has a bug that prevents Crow from compiling with C++11. Please update GCC to > 8.3 or use C++ > 11."
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue