proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
TransportDirection.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 <iosfwd>
13
#include <stdint.h>
14
15
namespace
proxygen
{
16
17
enum class
TransportDirection
:
uint8_t
{
18
DOWNSTREAM
,
// toward the client
19
UPSTREAM
// toward the origin application or data
20
};
21
22
const
char
*
getTransportDirectionString
(
TransportDirection
dir);
23
24
TransportDirection
operator!
(
TransportDirection
dir);
25
26
std::ostream&
operator<<
(std::ostream& os,
const
TransportDirection
dir);
27
28
}
// proxygen
proxygen::operator!
TransportDirection operator!(TransportDirection dir)
Definition:
TransportDirection.cpp:25
proxygen::operator<<
std::ostream & operator<<(std::ostream &os, const HeaderTable &table)
Definition:
HeaderTable.cpp:254
proxygen::getTransportDirectionString
const char * getTransportDirectionString(TransportDirection dir)
Definition:
TransportDirection.cpp:16
proxygen::TransportDirection::DOWNSTREAM
uint8_t
uint8_t
Definition:
ConstexprMathBenchmark.cpp:178
proxygen::TransportDirection
TransportDirection
Definition:
TransportDirection.h:17
proxygen::TransportDirection::UPSTREAM
proxygen
Definition:
ExMessageHandler.h:14
proxygen
lib
http
codec
TransportDirection.h
Generated by
1.8.11