hickory_server/server/
mod.rs

1// Copyright 2015-2018 Benjamin Fry <benjaminfry@me.com>
2//
3// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4// https://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5// https://opensource.org/licenses/MIT>, at your option. This file may not be
6// copied, modified, or distributed except according to those terms.
7
8//! `Server` component for hosting a domain name servers operations.
9
10#[cfg(feature = "dns-over-https")]
11mod h2_handler;
12#[cfg(feature = "dns-over-h3")]
13mod h3_handler;
14mod protocol;
15#[cfg(feature = "dns-over-quic")]
16mod quic_handler;
17mod request_handler;
18mod response_handler;
19mod server_future;
20mod timeout_stream;
21
22pub use self::protocol::Protocol;
23pub use self::request_handler::{Request, RequestHandler, RequestInfo, ResponseInfo};
24pub use self::response_handler::{ResponseHandle, ResponseHandler};
25pub use self::server_future::ServerFuture;
26pub use self::timeout_stream::TimeoutStream;