Closed tailhook closed 8 years ago
I can't just call tokio_minihttp::serve for that because I don't have the access to Core this way. And I can't copy the code from tokio_minihttp::Server::serve because there are lots of private stuff.
tokio_minihttp::serve
tokio_minihttp::Server::serve
Am I missing something obvious?
No... minihttp is only example code :) I didn't feel like adding all the details for configuring the reactor that it runs on, etc...
I can't just call
tokio_minihttp::serve
for that because I don't have the access to Core this way. And I can't copy the code fromtokio_minihttp::Server::serve
because there are lots of private stuff.Am I missing something obvious?