Anchorage API reference
    Preparing search index...
    interface HubTopology {
        forwardSubscribe(tenantId: string, request: Request): Promise<Response>;
        publish(event: ApprovalStreamEvent): Promise<void>;
    }
    Index

    Methods

    • Forward an already-verified WebSocket upgrade Request to a tenant's hub. The caller (stream-router.ts) has rewritten it to /subscribe with the ticket's actorId/role as query params; this only routes it to idFromName(tenantId).

      Parameters

      • tenantId: string
      • request: Request

      Returns Promise<Response>