proxygen
fizz::server::test::MockTicketCodec Class Reference

Static Public Member Functions

static Buf encode (ResumptionState state)
 
static ResumptionState decode (Buf encoded, const FizzServerContext *context)
 

Static Public Attributes

static constexpr folly::StringPiece Label {"Mock Ticket Codec"}
 
static MockTicketCodecInstanceinstance
 

Detailed Description

Definition at line 60 of file AeadTicketCipherTest.cpp.

Member Function Documentation

static ResumptionState fizz::server::test::MockTicketCodec::decode ( Buf  encoded,
const FizzServerContext context 
)
inlinestatic

Definition at line 66 of file AeadTicketCipherTest.cpp.

66  {
67  return instance->_decode(encoded, context);
68  }
context
Definition: CMakeCache.txt:563
static MockTicketCodecInstance * instance
static Buf fizz::server::test::MockTicketCodec::encode ( ResumptionState  state)
inlinestatic

Definition at line 63 of file AeadTicketCipherTest.cpp.

63  {
64  return instance->_encode(state);
65  }
static MockTicketCodecInstance * instance
state
Definition: http_parser.c:272

Member Data Documentation

MockTicketCodecInstance * fizz::server::test::MockTicketCodec::instance
static
constexpr folly::StringPiece fizz::server::test::MockTicketCodec::Label {"Mock Ticket Codec"}
static

Definition at line 62 of file AeadTicketCipherTest.cpp.


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