proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
ClientExtensions.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-present, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree.
7
*/
8
9
#pragma once
10
11
#include <
fizz/record/Types.h
>
12
13
namespace
fizz
{
14
15
/*
16
* This class allows for Extensions to be added to Client Hello, and then
17
* checked against EncryptedExtensions negotiated by the server.
18
*/
19
class
ClientExtensions
{
20
public
:
21
virtual
~ClientExtensions
() =
default
;
22
28
virtual
std::vector<Extension>
getClientHelloExtensions
()
const
= 0;
29
33
virtual
void
onEncryptedExtensions
(
34
const
std::vector<Extension>& extensions) = 0;
35
};
36
}
// namespace fizz
fizz::ClientExtensions::~ClientExtensions
virtual ~ClientExtensions()=default
Types.h
fizz::ClientExtensions::onEncryptedExtensions
virtual void onEncryptedExtensions(const std::vector< Extension > &extensions)=0
fizz::ClientExtensions
Definition:
ClientExtensions.h:19
fizz
Definition:
Actions.h:16
fizz::ClientExtensions::getClientHelloExtensions
virtual std::vector< Extension > getClientHelloExtensions() const =0
proxygen
fizz
fizz
client
ClientExtensions.h
Generated by
1.8.11