|
28 | 28 | #include <vix/async/core/timer.hpp> |
29 | 29 | #include <vix/async/net/tcp.hpp> |
30 | 30 | #include <vix/config/Config.hpp> |
31 | | -#include <vix/executor/IExecutor.hpp> |
| 31 | +#include <vix/executor/RuntimeExecutor.hpp> |
32 | 32 | #include <vix/http/Request.hpp> |
33 | 33 | #include <vix/http/Response.hpp> |
34 | 34 | #include <vix/router/Router.hpp> |
@@ -77,10 +77,11 @@ namespace vix::session |
77 | 77 | * @param config Server configuration. |
78 | 78 | * @param executor Executor used for handler execution. |
79 | 79 | */ |
80 | | - explicit Session(std::unique_ptr<tcp_stream> stream, |
81 | | - vix::router::Router &router, |
82 | | - const vix::config::Config &config, |
83 | | - std::shared_ptr<vix::executor::IExecutor> executor); |
| 80 | + explicit Session( |
| 81 | + std::unique_ptr<tcp_stream> stream, |
| 82 | + vix::router::Router &router, |
| 83 | + const vix::config::Config &config, |
| 84 | + std::shared_ptr<vix::executor::RuntimeExecutor> executor); |
84 | 85 |
|
85 | 86 | /** @brief Destroy the session. */ |
86 | 87 | ~Session() = default; |
@@ -195,7 +196,7 @@ namespace vix::session |
195 | 196 | std::unique_ptr<tcp_stream> stream_; |
196 | 197 | vix::router::Router &router_; |
197 | 198 | const vix::config::Config &config_; |
198 | | - std::shared_ptr<vix::executor::IExecutor> executor_; |
| 199 | + std::shared_ptr<vix::executor::RuntimeExecutor> executor_; |
199 | 200 |
|
200 | 201 | std::string read_buffer_{}; |
201 | 202 | std::shared_ptr<io_context> io_context_{}; |
|
0 commit comments