mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-22 22:01:08 +00:00
21 lines
441 B
C
21 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
|