Added WebSocket transport

This commit is contained in:
Paul-Louis Ageneau
2020-03-14 12:52:36 +01:00
parent 2ce7138ab5
commit b06b33234b
8 changed files with 623 additions and 2 deletions

View File

@ -30,6 +30,7 @@ namespace rtc {
struct Message : binary {
enum Type { Binary, String, Control, Reset };
Message(const Message &message) = default;
Message(size_t size, Type type_ = Binary) : binary(size), type(type_) {}
template <typename Iterator>