drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
WebSocketConnection.h File Reference
#include <json/value.h>
#include <memory>
#include <string>
#include <drogon/HttpTypes.h>
#include <string_view>
#include <trantor/net/InetAddress.h>
#include <trantor/utils/NonCopyable.h>
Include dependency graph for WebSocketConnection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  drogon::WebSocketConnection
 The WebSocket connection abstract class. More...

Namespaces

namespace  drogon
 Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2.

Typedefs

using drogon::WebSocketConnectionPtr = std::shared_ptr<WebSocketConnection>

Enumerations

enum class  CloseCode {
  kNormalClosure = 1000 , kEndpointGone = 1001 , kProtocolError = 1002 , kInvalidMessage = 1003 ,
  kNone = 1005 , kAbnormally = 1006 , kWrongMessageContent = 1007 , kViolation = 1008 ,
  kMessageTooBig = 1009 , kNeedMoreExtensions = 1010 , kUnexpectedCondition = 1011 , kTLSFailed = 1015
}

Detailed Description

Author
An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon