proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
StaticHeaderTable.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015-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. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
*/
10
#pragma once
11
12
#include <
proxygen/lib/http/codec/compress/HeaderTable.h
>
13
#include <
proxygen/lib/http/HTTPCommonHeaders.h
>
14
#include <string>
15
#include <vector>
16
17
namespace
proxygen
{
18
19
class
StaticHeaderTable
:
public
HeaderTable
{
20
21
public
:
22
explicit
StaticHeaderTable
(
const
char
* entries[][2],
int
size
);
23
24
static
const
StaticHeaderTable
&
get
();
25
26
static
bool
isHeaderCodeInTableWithNonEmptyValue
(
HTTPHeaderCode
headerCode);
27
};
28
29
}
proxygen::StaticHeaderTable::StaticHeaderTable
StaticHeaderTable(const char *entries[][2], int size)
Definition:
StaticHeaderTable.cpp:107
proxygen::StaticHeaderTable::isHeaderCodeInTableWithNonEmptyValue
static bool isHeaderCodeInTableWithNonEmptyValue(HTTPHeaderCode headerCode)
Definition:
StaticHeaderTable.cpp:92
HeaderTable.h
proxygen::HeaderTable
Definition:
HeaderTable.h:26
proxygen::StaticHeaderTable
Definition:
StaticHeaderTable.h:19
proxygen
Definition:
ExMessageHandler.h:14
proxygen::HTTPHeaderCode
HTTPHeaderCode
Definition:
HTTPCommonHeaders.h:22
proxygen::HeaderTable::size
uint32_t size() const
Definition:
HeaderTable.h:105
HTTPCommonHeaders.h
proxygen
lib
http
codec
compress
StaticHeaderTable.h
Generated by
1.8.11