Correct filesystem listener transport rustdoc
This commit is contained in:
@@ -87,8 +87,9 @@ impl WipFsServer {
|
|||||||
|
|
||||||
/// Binds the built-in bounded loopback HTTP listener.
|
/// Binds the built-in bounded loopback HTTP listener.
|
||||||
///
|
///
|
||||||
/// The listener is cleartext by design. Configuration must explicitly state
|
/// The built-in listener is cleartext and loopback-only. Externally visible
|
||||||
/// whether TLS is terminated by a reverse proxy or development HTTP is in use.
|
/// schemes, TLS termination, authentication, and proxy routing are deployment
|
||||||
|
/// concerns rather than WIP transport profiles.
|
||||||
pub fn bind(self) -> Result<BoundServer, ServerBuildError> {
|
pub fn bind(self) -> Result<BoundServer, ServerBuildError> {
|
||||||
let listener = TcpListener::bind(self.config.listen)
|
let listener = TcpListener::bind(self.config.listen)
|
||||||
.map_err(|error| ServerBuildError::Listener(error.to_string()))?;
|
.map_err(|error| ServerBuildError::Listener(error.to_string()))?;
|
||||||
|
|||||||
Reference in New Issue
Block a user