rohit20001221
rohit20001221
``` class SseConsumer(AsyncHttpConsumer): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.keepalive = False async def handle(self, body): print('start handle') await self.send_headers(headers=[ (b'Cache-Control', b'no-cache'), (b'Content-Type', b'text/event-stream'), (b"Transfer-Encoding", b"chunked"), (b'Access-Control-Allow-Origin', b'*'), ]) await...
https://stackoverflow.com/questions/59321908/decode-websocket-received-data I was using using the code mentioned in the above url and was getting error so i tried to fix it 😁
Hi everyone i have found a way to use dynamic module federation with app router useDynamicScript.ts ``` import React from "react"; const useDynamicScript = (args: { url: string }) =>...
hi @ScriptedAlchemy is this the correct way to use federation runtime first i am creating a federation instance using init ``` import { init } from "@module-federation/enhanced/runtime"; import React from...