Function CogsConnectionProvider
- CogsConnectionProvider<Manifest>(__namedParameters): JSX.Element | null
Type Parameters
Manifest extends CogsPluginManifest
Parameters
__namedParameters: {
audioPlayer?: boolean;
children: ReactNode;
hostname?: string;
manifest: Manifest;
port?: number;
videoPlayer?: boolean;
}
Optional
audioPlayer?: boolean
children: ReactNode
Optional
hostname?: string
Optional
port?: number
Optional
videoPlayer?: boolean
Returns JSX.Element | null
Create a persistent connection to COGS which can be accessed with
useCogsConnection()