HTTP module

ws::WebSocketException

WebSocketException

#include <icy/http/websocket.h>

Inherits: runtime_error

Public Methods

ReturnNameDescription
WebSocketException inline
ErrorCodecode const inline
boolhasCloseStatus const inline
uint16_tcloseStatus const inline

WebSocketException

inline

inline WebSocketException(ErrorCode code, std::string message, uint16_t closeStatus)

code

const inline

inline ErrorCode code() const

hasCloseStatus

const inline

inline bool hasCloseStatus() const

closeStatus

const inline

inline uint16_t closeStatus() const

Private Attributes

ReturnNameDescription
ErrorCode_code
uint16_t_closeStatus

_code

ErrorCode _code

_closeStatus

uint16_t _closeStatus