proxygen
ExMessageHandler.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 
20  public:
21 
22  virtual void onUpgrade(proxygen::UpgradeProtocol /*prot*/) noexcept override {
23  LOG(FATAL) << "ExMessageHandler doesn't support upgrade";
24  }
25 
26  virtual ExMessageHandler* getExHandler() noexcept override {
27  LOG(FATAL) << "getExHandler can't be called on ExMessageHandler";
28  }
29 };
30 
31 }
virtual void onUpgrade(proxygen::UpgradeProtocol) noexceptoverride
virtual ExMessageHandler * getExHandler() noexceptoverride
requires E e noexcept(noexcept(s.error(std::move(e))))