Home
HTTP module

ws::WebSocketException

WebSocketException

#include <icy/http/websocket.h>
class WebSocketException

Defined in src/http/include/icy/http/websocket.h:121

Inherits: runtime_error

List of all members

NameKindOwner
WebSocketExceptionfunctionDeclared here
codefunctionDeclared here
hasCloseStatusfunctionDeclared here
closeStatusfunctionDeclared here
_codevariableDeclared here
_closeStatusvariableDeclared here

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 = 0)

Defined in src/http/include/icy/http/websocket.h:124


code

const inline

inline ErrorCode code() const

Defined in src/http/include/icy/http/websocket.h:131


hasCloseStatus

const inline

inline bool hasCloseStatus() const

Defined in src/http/include/icy/http/websocket.h:132


closeStatus

const inline

inline uint16_t closeStatus() const

Defined in src/http/include/icy/http/websocket.h:133

Private Attributes

ReturnNameDescription
ErrorCode_code
uint16_t_closeStatus

_code

ErrorCode _code

Defined in src/http/include/icy/http/websocket.h:136


_closeStatus

uint16_t _closeStatus

Defined in src/http/include/icy/http/websocket.h:137