method ServerSentEventStreamTarget.prototype.asResponseimport { ServerSentEventStreamTarget } from "https://dotland.deno.dev/std@0.181.0/http/mod.ts"; asResponse(responseInit?: ResponseInit): ResponseReturns a {@link Response} which contains the body and headers needed to initiate a SSE connection with the client. ParametersoptionalresponseInit: ResponseInitReturnsResponse