mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
20 lines
441 B
C++
20 lines
441 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
#include <boost/beast/core.hpp>
|
|
#include <boost/beast/http/status.hpp>
|
|
|
|
#include "context.h"
|
|
|
|
namespace onnxruntime {
|
|
namespace server {
|
|
|
|
namespace beast = boost::beast; // from <boost/beast.hpp>
|
|
|
|
// Report a failure
|
|
void ErrorHandling(beast::error_code ec, char const* what);
|
|
|
|
} // namespace server
|
|
} // namespace onnxruntime
|