tokio-rs / tokio-minihttp

Protocol implementation experimentations
Apache License 2.0
448 stars 50 forks source link

Is it possible to combine minihttp with anything else in the same loop? #5

Closed tailhook closed 8 years ago

tailhook commented 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.

Am I missing something obvious?

carllerche commented 8 years ago

No... minihttp is only example code :) I didn't feel like adding all the details for configuring the reactor that it runs on, etc...