proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
CompressionUtils.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. 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/HTTPMessage.h
>
13
#include <
proxygen/lib/http/codec/compress/Header.h
>
14
15
#include <vector>
16
#include <string>
17
18
namespace
proxygen
{
19
namespace
compress {
20
21
// Convert an HTTPMessage into a format that can be passed to a HeaderCodec
22
std::vector<Header>
prepareMessageForCompression
(
23
const
HTTPMessage& msg,
24
std::vector<std::string>& cookies);
25
26
}
27
28
// Compare two HTTPMessage's for equality
29
bool
operator==
(
const
HTTPMessage& msg1,
const
HTTPMessage& msg2);
30
31
}
Header.h
proxygen::operator==
bool operator==(const HTTPMessage &msg1, const HTTPMessage &msg2)
Definition:
CompressionUtils.cpp:132
proxygen::compress::prepareMessageForCompression
std::vector< compress::Header > prepareMessageForCompression(const HTTPMessage &msg, std::vector< string > &cookies)
Definition:
CompressionUtils.cpp:83
proxygen
Definition:
ExMessageHandler.h:14
HTTPMessage.h
proxygen
lib
http
codec
compress
experimental
simulator
CompressionUtils.h
Generated by
1.8.11