Fixed heartbeat typos (#22)

This commit is contained in:
Michael Lu
2019-03-19 21:31:43 -07:00
committed by Benjamin Sergeant
parent 523a6e989a
commit 663299c91e
5 changed files with 9 additions and 9 deletions

View File

@ -61,7 +61,7 @@ namespace ix
~WebSocketTransport();
void configure(const WebSocketPerMessageDeflateOptions& perMessageDeflateOptions,
int hearBeatPeriod);
int heartBeatPeriod);
WebSocketInitResult connectToUrl(const std::string& url, // Client
int timeoutSecs);
@ -148,7 +148,7 @@ namespace ix
mutable std::mutex _lastSendTimePointMutex;
std::chrono::time_point<std::chrono::steady_clock> _lastSendTimePoint;
// No data was send through the socket for longer that the hearbeat period
// No data was send through the socket for longer that the heartbeat period
bool heartBeatPeriodExceeded();
void sendOnSocket();