REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5
6// WS Client Config
7#define _WS_BUFFER_SIZE 1024
8//#define _WS_CONFIG_NO_TRUE_RANDOMNESS
9//#define _WS_CONFIG_SKIP_HANDSHAKE_ACCEPT_VALIDATION
10//#define _WS_CONFIG_MAX_MESSAGE_SIZE 1000
11//#define _WS_CONFIG_NO_SSL
12
13#define PLATFORM_DOES_NOT_SUPPORT_BLOCKING_READ
14
15#include "tcp.h"
16
17namespace websockets {
18 namespace internals {
19 inline std::string fromInterfaceString(const std::string& str) { return str; }
20 inline std::string fromInterfaceString(const std::string&& str) { return str; }
21 inline std::string fromInternalString(const std::string& str) { return str; }
22 inline std::string fromInternalString(const std::string&& str) { return str; }
23 }
24}
std::string fromInterfaceString(const std::string &str)
Definition common.h:19
std::string fromInternalString(const std::string &str)
Definition common.h:21