Browse Source

forward maxMessageSize-Method call from WebSocket Class to Implementation class

Nyran 1 year ago
parent
commit
2dcba9938b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/websocket.cpp

+ 1 - 1
src/websocket.cpp

@@ -41,7 +41,7 @@ bool WebSocket::isOpen() const { return impl()->state.load() == State::Open; }
 
 bool WebSocket::isClosed() const { return impl()->state.load() == State::Closed; }
 
-size_t WebSocket::maxMessageSize() const { return DEFAULT_MAX_MESSAGE_SIZE; }
+size_t WebSocket::maxMessageSize() const { return impl()->maxMessageSize(); }
 
 void WebSocket::open(const string &url) { impl()->open(url); }