next
Functions
Section titled “Functions”| Function | Description |
|---|---|
| createServerClient | Creates a server-side Chanomhub client for Next.js Automatically reads authentication token from cookies |
| getAuthToken | Gets the current auth token from Next.js cookies Useful when you need to pass the token to client components |