Unverified Commit 34c2fbef authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

feat(http server): add new builder APIs `build_from_tcp` and `build_from_hyper` (#719)

* unify servers; use tokio::TcpListener

* add API to build server from tcp socket

* build_from_tcp nit: not async

* fix nits

* change `build_from_tcp` force users configure hyper

The hyper settings might contradict to settings on the provided
socket, force users of this API to configure that avoid confusion and
unexpected settings.

* Update http-server/src/server.rs

* fix doc links

* add separate APIs `build_from_tcp` and `build_from_hyper`

* fix clippy

* remove dead code

* fix build

* fix nit in example code
parent f55ab3e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment