Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Accept a pending connection request by connection ID
import { useAcceptConnection } from "@sublay/react-js"; function PendingRequest({ connectionId }: { connectionId: string }) { const acceptConnection = useAcceptConnection(); return ( <button onClick={() => acceptConnection({ connectionId })}> Accept </button> ); }
Promise<ConnectionRow>
"received"
null
"accepted"