1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 16:17:43 +02:00

add name to service registration

This commit is contained in:
Nikolay Kim
2018-09-17 20:19:48 -07:00
parent 4827990298
commit ed23caa314
7 changed files with 72 additions and 31 deletions

View File

@ -29,7 +29,7 @@ fn main() {
Server::default()
.bind(
// configure service pipeline
"0.0.0.0:8443",
"basic", "0.0.0.0:8443",
move || {
let num = num.clone();
let acceptor = acceptor.clone();