proxygen
HTTP1xCodec.cpp File Reference

Go to the source code of this file.

Namespaces

 proxygen
 

Macros

#define appendLiteral(queue, len, str)
 

Variables

constexpr folly::StringPiece proxygen::kUpgradeToken = "websocket"
 
constexpr folly::StringPiece proxygen::kUpgradeConnectionToken = "Upgrade"
 
constexpr folly::StringPiece proxygen::kWSMagicString = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
 

Macro Definition Documentation

#define appendLiteral (   queue,
  len,
  str 
)
Value:
(len) += (sizeof(str) - 1); \
(queue).append(str, sizeof(str) - 1)
void append(std::unique_ptr< IOBuf > &buf, StringPiece str)
Definition: IOBufTest.cpp:37

Definition at line 68 of file HTTP1xCodec.cpp.

Referenced by proxygen::HTTP1xCodec::addDateHeader(), proxygen::HTTP1xCodec::generateEOM(), proxygen::HTTP1xCodec::generateHeader(), proxygen::HTTP1xCodec::generateTrailers(), and proxygen::HTTP1xCodec::serializeWebsocketHeader().