mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 21:07:39 +03:00
Expose TetServer::stop() method
This commit is contained in:
parent
1331a6eadb
commit
6aea5e54a7
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## [2.2.0] - 2024-07-16
|
||||
|
||||
* Expose TetServer::stop() method
|
||||
|
||||
## [2.1.0] - 2024-06-27
|
||||
|
||||
* Shutdown service on error and on worker shutdown
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-server"
|
||||
version = "2.1.0"
|
||||
version = "2.2.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Server for ntex framework"
|
||||
keywords = ["network", "framework", "async", "futures"]
|
||||
|
|
|
@ -118,7 +118,7 @@ impl TestServer {
|
|||
}
|
||||
|
||||
/// Stop http server
|
||||
fn stop(&mut self) {
|
||||
pub fn stop(&self) {
|
||||
self.system.stop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue