mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
use arrow not .
This commit is contained in:
parent
89d99f6ae9
commit
7164517622
@ -377,7 +377,7 @@ namespace crow
|
||||
WebSocketRule(std::string rule, App* app):
|
||||
BaseRule(std::move(rule)),
|
||||
app_(app),
|
||||
max_payload_(app_.websocket_max_payload())
|
||||
max_payload_(app_->websocket_max_payload())
|
||||
{}
|
||||
|
||||
void validate() override
|
||||
|
@ -82,7 +82,7 @@ namespace crow
|
||||
close_handler_(std::move(close_handler)),
|
||||
error_handler_(std::move(error_handler)),
|
||||
accept_handler_(std::move(accept_handler)),
|
||||
max_payload_bytes_(handler.websocket_max_payload())
|
||||
max_payload_bytes_(handler->websocket_max_payload())
|
||||
{
|
||||
if (!boost::iequals(req.get_header_value("upgrade"), "websocket"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user