Fix some typos (#1570)

* Fix typo for optional_data (closes #1567)

* Fix typo in comment
This commit is contained in:
Jan
2023-02-05 08:59:03 +01:00
committed by GitHub
parent c5d687540a
commit c2209fbad2
3 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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,