import { readRequest } from "https://deno.land/x/servest@v1.3.4/serveio.ts";
Read http request from reader. 'status-line' and headers are certainly read. body and trailers may not be read. Read will be aborted when opts.cancel is called or any read wait to reader is over opts.readTimeout.
Parameters
optional
opts: ServeOptions = [UNSUPPORTED]Returns
Promise<IncomingRequest>