Fix some typos (#1570)
* Fix typo for optional_data (closes #1567) * Fix typo in comment
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ public:
|
||||
#endif
|
||||
|
||||
/* Manually upgrade to WebSocket. Typically called in upgrade handler. Immediately calls open handler.
|
||||
* NOTE: Will invalidate 'this' as socket might change location in memory. Throw away aftert use. */
|
||||
* NOTE: Will invalidate 'this' as socket might change location in memory. Throw away after use. */
|
||||
template <typename UserData>
|
||||
void upgrade(UserData &&userData, std::string_view secWebSocketKey, std::string_view secWebSocketProtocol,
|
||||
std::string_view secWebSocketExtensions,
|
||||
|
||||
Reference in New Issue
Block a user