Beignet API reference
    Preparing search index...

    Function createDevtoolsHooks

    • Create server hooks that record Beignet request and error activity.

      Devtools routes under basePath are ignored so polling and SSE traffic do not fill the event buffer. Request IDs and trace context are also written to response headers unless disabled.

      Type Parameters

      • Ctx
      • Ports extends PortsWithDevtools = PortsWithDevtools

      Parameters

      Returns ServerHook<Ctx, Ports>