proxygen
HPACKStreamingCallback.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 
14 
15 namespace proxygen { namespace HPACK {
17  public:
18  virtual ~StreamingCallback() {}
19 
20  virtual void onHeader(const folly::fbstring& name,
21  const folly::fbstring& value) = 0;
22  virtual void onHeadersComplete(HTTPHeaderSize decodedSize) = 0;
23  virtual void onDecodeError(HPACK::DecodeError decodeError) = 0;
25  };
26 
27 
28 }}
virtual void onHeadersComplete(HTTPHeaderSize decodedSize)=0
const char * name
Definition: http_parser.c:437
virtual void onHeader(const folly::fbstring &name, const folly::fbstring &value)=0
static const char *const value
Definition: Conv.cpp:50
virtual void onDecodeError(HPACK::DecodeError decodeError)=0