API Reference
useConvexHttpClient
Reference for the advanced helper that returns the active HTTP client.
useConvexHttpClient returns the current ConvexHttpClient instance.
Import
import { useConvexHttpClient } from 'vue-convex/advanced'
In Nuxt, the same helper is available from #convex/advanced.
Signature
function useConvexHttpClient(): ConvexHttpClient
Behavior
- Throws when no HTTP client is connected
- Useful when you need direct transport access outside the higher-level composables