proxygen
HTTP2Constants.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 <cstdint>
13 #include <string>
15 
16 namespace proxygen { namespace http2 {
17 
20 
21 extern const uint32_t kFrameHeaderSize;
23 extern const uint32_t kFramePrioritySize;
24 extern const uint32_t kFrameStreamIDSize;
25 extern const uint32_t kFrameRstStreamSize;
26 extern const uint32_t kFramePushPromiseSize;
27 extern const uint32_t kFramePingSize;
28 extern const uint32_t kFrameGoawaySize;
29 extern const uint32_t kFrameWindowUpdateSize;
32 
33 // These constants indicate the size of the required fields in the frame
34 extern const uint32_t kFrameAltSvcSizeBase;
35 
37 extern const uint32_t kMaxFramePayloadLength;
38 extern const uint32_t kMaxStreamID;
39 extern const uint32_t kInitialWindow;
40 extern const uint32_t kMaxWindowUpdateSize;
41 extern const uint32_t kMaxHeaderTableSize;
42 
43 // The maximum size of the data buffer caching an authenticator.
44 // For secondary authentication in HTTP/2.
46 
47 extern const uint32_t kMaxHeaderTableSize;
48 extern const std::string kConnectionPreface;
49 
50 extern const std::string kProtocolString;
55 
56 }}
const uint32_t kMaxAuthenticatorBufSize
const uint32_t kMaxStreamID
const uint32_t kInitialWindow
const uint32_t kFramePrioritySize
const uint32_t kFrameHeaderSize
const std::string kProtocolCleartextString
const uint32_t kFrameAltSvcSizeBase
const std::string kProtocolString
ErrorCode errorCodeToGoaway(ErrorCode code)
const uint32_t kMaxFramePayloadLength
const std::string kProtocolDraftString
const uint32_t kMaxWindowUpdateSize
const uint32_t kFrameCertificateSizeBase
const std::string kProtocolExperimentalString
const uint32_t kMaxFramePayloadLengthMin
const uint32_t kMaxHeaderTableSize
const uint32_t kFrameCertificateRequestSizeBase
ErrorCode errorCodeToReset(ErrorCode code)
const uint32_t kFrameGoawaySize
const uint32_t kFrameWindowUpdateSize
const uint32_t kFrameHeadersBaseMaxSize
const std::string kProtocolSettingsHeader
const uint32_t kFramePushPromiseSize
const char * string
Definition: Conv.cpp:212
const std::string kConnectionPreface
const uint32_t kFramePingSize
const uint32_t kFrameStreamIDSize
const uint32_t kFrameRstStreamSize