Http
ws::WebSocketException
WebSocketException
#include <websocket.h>
class WebSocketExceptionDefined in src/http/include/icy/http/websocket.h:121
- Inherits
runtime_error
Public Methods
| Return | Name | Description |
|---|---|---|
WebSocketException inline | ||
ErrorCode | code const inline nodiscard | |
bool | hasCloseStatus const inline nodiscard | |
uint16_t | closeStatus const inline nodiscard |
WebSocketException
inline
inline WebSocketException(ErrorCode code, std::string message, uint16_t closeStatus = 0)Defined in src/http/include/icy/http/websocket.h:124
code
const inline nodiscard
[[nodiscard]] inline ErrorCode code() constDefined in src/http/include/icy/http/websocket.h:131
hasCloseStatus
const inline nodiscard
[[nodiscard]] inline bool hasCloseStatus() constDefined in src/http/include/icy/http/websocket.h:132
closeStatus
const inline nodiscard
[[nodiscard]] inline uint16_t closeStatus() constDefined in src/http/include/icy/http/websocket.h:133
Private Attributes
| Return | Name | Description |
|---|---|---|
ErrorCode | _code | |
uint16_t | _closeStatus |
_code
ErrorCode _codeType: ErrorCode
Defined in src/http/include/icy/http/websocket.h:136
_closeStatus
uint16_t _closeStatusDefined in src/http/include/icy/http/websocket.h:137