Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpWebSocketHandshakeResult Struct Reference

Outcome of validating a WebSocket opening handshake. More...

#include <HttpWebSocket.h>

Public Types

enum class  Status : uint8_t {
  Accepted ,
  BadRequest ,
  UnsupportedVersion
}
 

Public Member Functions

bool accepted () const
 
int httpStatusCode () const
 

Public Attributes

Status status = Status::BadRequest
 

Detailed Description

Outcome of validating a WebSocket opening handshake.


The documentation for this struct was generated from the following file: