[−][src]Function trust_dns_https::https_server::message_from
pub fn message_from<R>(
this_server_name: Arc<String>,
request: Request<R>
) -> HttpsToMessage<R> where
R: Stream<Item = Bytes, Error = Error> + 'static + Send + Debug,
Given an HTTP request, return a future that will result in the next sequence of bytes.
To allow downstream clients to do something interesting with the lifetime of the bytes, this doesn't perform a conversion to a Message, only collects all the bytes.