proxygen
HTTPChecks.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 
13 
14 namespace proxygen {
15 
23  public:
24  // HTTPCodec::Callback methods
25 
26  void onHeadersComplete(StreamID stream,
27  std::unique_ptr<HTTPMessage> msg) override;
28 
29  // HTTPCodec methods
30 
32  StreamID stream,
33  const HTTPMessage& msg,
34  bool eom,
35  HTTPHeaderSize* sizeOut) override;
36 };
37 
38 }
void writeBuf(const Buf &buf, folly::io::Appender &out)
void onHeadersComplete(StreamID stream, std::unique_ptr< HTTPMessage > msg) override
Definition: HTTPChecks.cpp:16
void generateHeader(folly::IOBufQueue &writeBuf, StreamID stream, const HTTPMessage &msg, bool eom, HTTPHeaderSize *sizeOut) override
Definition: HTTPChecks.cpp:35