function serveDeprecatedDeprecatedCreate an HTTP server. import { serve } from "https://deno.land/std@0.114.0/http/server_legacy.ts"; const body = "Hello World\n"; const server = serve({ port: 8000 }); for await (const req of server) { req.respond({ body }); } import { serve } from "https://deno.land/std@0.114.0/http/server_legacy.ts"; DeprecatedCreate an HTTP server. import { serve } from "https://deno.land/std@0.114.0/http/server_legacy.ts"; const body = "Hello World\n"; const server = serve({ port: 8000 }); for await (const req of server) { req.respond({ body }); } serve(addr: string | HTTPOptions): ServerParametersaddr: string | HTTPOptionsReturnsServer