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