Releases
v0.3.0
Compare
Sorry, something went wrong.
No results found
Total rewrite of source code.
Major api changes:
breaking: Removed bind_rustls, certificate, certificate_file,
loader, new, private_key, private_key_file, serve_and_record,
tls_config methods from Server.
breaking: Removed tls module.
breaking: Removed record module and feature.
breaking: Removed Handle::listening_addrs method.
breaking: Server::bind method doesn't take self anymore and creates
an Server.
breaking: bind method now takes a SocketAddr.
breaking: bind_rustls method now takes a SocketAddr and an
tls_rustls::RustlsConfig.
breaking: Server::serve method now takes a MakeService.
breaking: Handle::listening method now returns SocketAddr.
added: Added Handle::connection_count that can be used to get alive
connection count.
added: Added service module.
added: Added service::MakeServiceRef and service::SendService
traits aliases for convenience.
added: Added accept module.
added: Added accept::Accept trait that can be implemented to modify
io stream and service.
added: Added accept::DefaultAcceptor struct that implements
accept::Accept to be used as a default 'Accept' for 'Server'.
added: Added Server::acceptor method that can be used to provide a
custom accept::Accept.
added: Added tls_rustls module.
added: Added tls_rustls::RustlsAcceptor that can be used with
Server::acceptor to make a tls Server.
added: Added tls_rustls::RustlsConfig to create rustls utilities and
to provide reload functionality.
added: Added tls_rustls::bind_rustls which is same as bind_rustls
function.
You can’t perform that action at this time.